Verify no unwanted files are present in the package
This commit is contained in:
parent
8b98f71a03
commit
3f620d31de
@ -317,6 +317,10 @@ install -p dist/%{python_wheel_name} -t %{buildroot}%{python_wheel_dir}
|
||||
# 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…
Reference in New Issue
Block a user