From 984b04bdf0cf4b3633b1a7b7df06cb06f14df713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 4 Feb 2022 13:37:12 +0100 Subject: [PATCH] Use all pyproject-rpm-macros features now when RHEL 9 was synced --- python-tox-current-env.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python-tox-current-env.spec b/python-tox-current-env.spec index 620f6e4..60e93d9 100644 --- a/python-tox-current-env.spec +++ b/python-tox-current-env.spec @@ -47,11 +47,10 @@ The tox-current-env plugin allows to run tests in current Python environment. %check # the tests currently only work within actual tox and with various Python # versions installed, so we skip them and do an import check only instead: -%py3_check_import %{pypi_under} +%pyproject_check_import %files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files} -%license LICENSE %doc README.rst