Add check for RECORD and REQUESTED files

This commit is contained in:
Lumir Balhar 2020-09-29 13:05:38 +02:00
parent c5d2f62b23
commit 595fc3b049

View File

@ -34,6 +34,12 @@ Summary: %{summary}
%pyproject_install %pyproject_install
%pyproject_save_files zope +auto %pyproject_save_files zope +auto
%check
# Internal check that the RECORD and REQUESTED files are
# always removed in %%pyproject_wheel
test ! $(find %{buildroot}%{python3_sitelib}/ | grep -E "*.dist-info/RECORD$")
test ! $(find %{buildroot}%{python3_sitelib}/ | grep -E "*.dist-info/REQUESTED$")
%files -n python3-zope-event -f %{pyproject_files} %files -n python3-zope-event -f %{pyproject_files}
%doc README.rst %doc README.rst
%license LICENSE.txt %license LICENSE.txt