diff --git a/python-tox-current-env.spec b/python-tox-current-env.spec index b346cfd..cd299f0 100644 --- a/python-tox-current-env.spec +++ b/python-tox-current-env.spec @@ -11,11 +11,8 @@ URL: https://github.com/fedora-python/tox-current-env Source0: %{pypi_source} BuildArch: noarch -# Don't use %%pyproject_buildrequires to avoid a build dependency loop. BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros -BuildRequires: python3dist(setuptools) -BuildRequires: python3dist(wheel) %description The tox-current-env plugin allows to run tests in current Python environment. @@ -33,6 +30,11 @@ The tox-current-env plugin allows to run tests in current Python environment. %autosetup -n %{pypi_name}-%{version} +%generate_buildrequires +# Don't use %%pyproject_buildrequires -t/-e to avoid a build dependency loop +%pyproject_buildrequires + + %build %pyproject_wheel