Use %pyproject_save_files

This commit is contained in:
Miro Hrončok
2021-08-05 10:51:57 +02:00
parent 2a49b7e01e
commit 9a6b31458f
+2 -3
View File
@@ -41,6 +41,7 @@ The tox-current-env plugin allows to run tests in current Python environment.
%install
%pyproject_install
%pyproject_save_files %{pypi_under}
%check
@@ -49,11 +50,9 @@ The tox-current-env plugin allows to run tests in current Python environment.
%py3_check_import %{pypi_under}
%files -n python%{python3_pkgversion}-%{pypi_name}
%files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files}
%license LICENSE
%doc README.rst
%{python3_sitelib}/%{pypi_under}/
%{python3_sitelib}/%{pypi_under}-%{version}.dist-info/
%changelog