Use %pyproject_save_files
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user