diff --git a/SPECS/python-tox-current-env.spec b/SPECS/python-tox-current-env.spec index 1c8a522..ab8a9df 100644 --- a/SPECS/python-tox-current-env.spec +++ b/SPECS/python-tox-current-env.spec @@ -30,29 +30,33 @@ The tox-current-env plugin allows to run tests in current Python environment. %autosetup -n %{pypi_name}-%{version} -%generate_buildrequires +# %%generate_buildrequires # Don't use %%pyproject_buildrequires -t/-e to avoid a build dependency loop -%pyproject_buildrequires +# %%pyproject_buildrequires -r %build -%pyproject_wheel +# %%pyproject_wheel +%py3_build %install -%pyproject_install +# %%pyproject_install +%py3_install -#check +# %%check # the tests currently only work within actual tox and with various Python # versions installed, so we skip them. +# %%py3_check_import %{pypi_under} %files -n python%{python3_pkgversion}-%{pypi_name} %license LICENSE %doc README.rst %{python3_sitelib}/%{pypi_under}/ -%{python3_sitelib}/%{pypi_under}-%{version}.dist-info/ +%{python3_sitelib}/%{pypi_under}-%{version}-py%{python3_version}.egg-info/ + %changelog