Define and save %toxenv for further use
This commit is contained in:
parent
8a60635881
commit
0124d2a76f
@ -17,7 +17,10 @@ if [ -d %{buildroot}%{python3_sitearch} ]; then
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%toxenv py%{python3_version_nodots}
|
||||||
|
|
||||||
%pyproject_buildrequires(rx:t:) %{expand:\\\
|
%pyproject_buildrequires(rx:t:) %{expand:\\\
|
||||||
|
%{-t:%{expand:%global toxenv %{-t*}}}
|
||||||
echo 'python3-devel'
|
echo 'python3-devel'
|
||||||
echo 'python3dist(packaging)'
|
echo 'python3dist(packaging)'
|
||||||
echo 'python3dist(pip) >= 19'
|
echo 'python3dist(pip) >= 19'
|
||||||
|
@ -28,7 +28,7 @@ Summary: %{summary}
|
|||||||
|
|
||||||
|
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
%pyproject_buildrequires -t py%{python3_version_nodots}-pytestrelease
|
%pyproject_buildrequires -t %{toxenv}-pytestrelease
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user