Use %pyproject_save_files

epel9
Miro Hrončok 4 years ago
parent 458461a8c3
commit d079bdd26b

@ -56,6 +56,7 @@ sed -i '/flake8/d' tox.ini
%install
%pyproject_install
%pyproject_save_files %{pypi_name}
%if %{with tests}
@ -66,11 +67,9 @@ sed -i '/flake8/d' tox.ini
%endif
%files -n python3-%{pypi_name}
%files -n python3-%{pypi_name} -f %{pyproject_files}
%license LICENSE
%doc README.rst
%{python3_sitelib}/%{pypi_name}/
%{python3_sitelib}/%{pypi_name}-%{version}.dist-info/
%changelog

Loading…
Cancel
Save