diff --git a/rpm/container-selinux.spec b/rpm/container-selinux.spec index b5a3f37..bcc1c75 100644 --- a/rpm/container-selinux.spec +++ b/rpm/container-selinux.spec @@ -25,7 +25,7 @@ %endif # https://github.com/containers/container-selinux/issues/203 -%if 0%{?fedora} <= 37 || 0%{?rhel} <= 9 +%if %{!defined fedora} && %{!defined rhel} || %{defined fedora} && 0%{?fedora} <= 37 || %{defined rhel} && 0%{?rhel} <= 9 %bcond_without no_user_namespace %else %bcond_with no_user_namespace