Assert that a license file is present in the .dist-info directory

This commit is contained in:
Benjamin A. Beasley 2024-01-04 13:29:45 -05:00
parent 857c693873
commit 47dd15aec7

View File

@ -35,7 +35,7 @@ Summary: %{summary}
%install %install
%pyproject_install %pyproject_install
%pyproject_save_files pytest_lazyfixture %pyproject_save_files -l pytest_lazyfixture
%check %check
%if %{with tests} %if %{with tests}
@ -43,7 +43,6 @@ Summary: %{summary}
%endif %endif
%files -n python3-pytest-lazy-fixture -f %{pyproject_files} %files -n python3-pytest-lazy-fixture -f %{pyproject_files}
# pyproject_files handles LICENSE; verify with “rpm -qL -p …”
%doc README.rst %doc README.rst
%changelog %changelog