Assert that %pyproject_files contains a license file

This commit is contained in:
Benjamin A. Beasley
2024-03-11 09:30:17 -04:00
parent 750935b239
commit 9f7febc8e9
+1 -2
View File
@@ -40,7 +40,7 @@ sed -r -i 's/^([[:blank:]]*)("pytest-cov")/\1# \2/' pyproject.toml
%install
%pyproject_install
%pyproject_save_files flexcache
%pyproject_save_files -l flexcache
# Upstream probably doesnt want to install flexcache.testsuite, but we dont
# know how to suggest a fix given “[BUG] options.packages.find.exclude not
@@ -58,7 +58,6 @@ sed -r -i '/\/flexcache\/testsuite/d' %{pyproject_files}
%files -n python3-flexcache -f %{pyproject_files}
# pyproject_files handles AUTHORS and LICENSE; verify with “rpm -qL -p …”
%doc README.rst
%doc CHANGES