From 9a6b31458f3c63081f93e71bbdabd28893a82fa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 5 Aug 2021 10:51:57 +0200 Subject: [PATCH] Use %pyproject_save_files --- python-tox-current-env.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/python-tox-current-env.spec b/python-tox-current-env.spec index 999ab60..e4f85ec 100644 --- a/python-tox-current-env.spec +++ b/python-tox-current-env.spec @@ -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