Verify no unwanted files are present in the package
This commit is contained in:
parent
09c6b24cb0
commit
858b6685fa
1 changed files with 4 additions and 0 deletions
|
|
@ -276,6 +276,10 @@ install -p %{_pyproject_wheeldir}/%{python_wheel_name} -t %{buildroot}%{python_w
|
|||
# Verify bundled provides are up to date
|
||||
%{_rpmconfigdir}/pythonbundles.py src/pip/_vendor/vendor.txt --compare-with '%{bundled 3}'
|
||||
|
||||
# Verify no unwanted files are present in the package
|
||||
grep "exe$" %{pyproject_files} && exit 1 || true
|
||||
grep "pem$" %{pyproject_files} && exit 1 || true
|
||||
|
||||
# Verify we can at least run basic commands without crashing
|
||||
%{py3_test_envvars} %{buildroot}%{_bindir}/pip --help
|
||||
%{py3_test_envvars} %{buildroot}%{_bindir}/pip list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue