diff --git a/python-podman.spec b/python-podman.spec index 721e62e..c5e303c 100644 --- a/python-podman.spec +++ b/python-podman.spec @@ -43,7 +43,7 @@ Summary: %{summary} %prep %autosetup -Sgit_am -n %{pypi_name}-%{built_tag_strip} -%if ! 0%{?rhel} <= 8 +%if 0%{?fedora} || 0%{?rhel} >= 9 %generate_buildrequires %pyproject_buildrequires %{?with_tests:-t} %endif