mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Make sure PIP_CONSTRAINT
is also set when building RPM's from source
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
29a098f8cd
commit
b6caa71b6e
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@ mkdir -p $RPM_BUILD_DIR/build
|
|||
cd $RPM_BUILD_DIR
|
||||
|
||||
%if "%{getenv:SALT_ONEDIR_ARCHIVE}" == ""
|
||||
export PIP_CONSTRAINT=%{_salt_src}/requirements/constraints.txt
|
||||
export FETCH_RELENV_VERSION=${SALT_RELENV_VERSION}
|
||||
python3 -m venv --clear --copies build/venv
|
||||
build/venv/bin/python3 -m pip install relenv==${SALT_RELENV_VERSION}
|
||||
|
|
Loading…
Add table
Reference in a new issue