From a1527d8d1e296c718a2c9e7567fa445b1bf3c9e0 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 17 Dec 2023 19:36:29 -0500 Subject: [PATCH] Assert that %pyproject_files contains a license file --- python-flexcache.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python-flexcache.spec b/python-flexcache.spec index c92162b..4fd7fc5 100644 --- a/python-flexcache.spec +++ b/python-flexcache.spec @@ -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 doesn’t want to install flexcache.testsuite, but we don’t # 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