diff --git a/python-flit.spec b/python-flit.spec index f4500d9..db091cf 100644 --- a/python-flit.spec +++ b/python-flit.spec @@ -25,17 +25,22 @@ BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros BuildRequires: python3-pip + +# Runtime deps needed to build self +BuildRequires: python3-toml + +%if %{with tests} +# Runtime deps, others BuildRequires: python3-requests BuildRequires: python3-docutils BuildRequires: python3-pygments -BuildRequires: python3-toml -%if %{with tests} +# Test deps BuildRequires: /usr/bin/python BuildRequires: python3-pytest BuildRequires: python3-responses -# Requires flit to build: +# Test deps that require flit to build: BuildRequires: python3-testpath BuildRequires: python3-requests-download %endif