Assert that %pyproject_files contains a license file

This commit is contained in:
Benjamin A. Beasley
2023-12-17 19:36:29 -05:00
parent a5354800da
commit a1527d8d1e
+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