diff --git a/freeipa.spec b/freeipa.spec index d59ca0c..976efe6 100644 --- a/freeipa.spec +++ b/freeipa.spec @@ -739,7 +739,7 @@ Conflicts: %{alt_name}-python < %{version} # This ensures that the *-selinux package and all it’s dependencies are not # pulled into containers and other systems that do not use SELinux. The # policy defines types and file contexts for client and server. -Requires: (%{name}-selinux if selinux-policy-%{selinuxtype}) +Requires: (%{name}-selinux = %{version}-%{release} if selinux-policy-%{selinuxtype}) %endif %description common @@ -789,7 +789,6 @@ This package contains tests that verify IPA functionality under Python 3. %package selinux Summary: FreeIPA SELinux policy BuildArch: noarch -Requires: %{name}-common = %{version}-%{release} Requires: selinux-policy-%{selinuxtype} Requires(post): selinux-policy-%{selinuxtype} %{?selinux_requires}