From ffa67d5bf43c5936dfba09ef9d9ff366743cac2f Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Wed, 9 Mar 2022 14:53:39 -0500 Subject: [PATCH] adjust build conditionals Signed-off-by: Lokesh Mandvekar --- python-podman.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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