From 84bbf68781715e2e574d28d7e6d2c6d75afee59e Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Tue, 22 Sep 2020 17:17:02 -0400 Subject: [PATCH] Require a matching server package for the selinux subpackage Ensure that the selinux subpackage is upgraded along with the rest of IPA if it is built. https://pagure.io/freeipa/issue/8511 Signed-off-by: Rob Crittenden Reviewed-By: Francois Cami --- freeipa.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git a/freeipa.spec.in b/freeipa.spec.in index 6425a2d86..a41918ad3 100755 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -832,6 +832,7 @@ This package contains tests that verify IPA functionality under Python 3. %package selinux Summary: FreeIPA SELinux policy BuildArch: noarch +Requires: %{name}-server = %{version}-%{release} Requires: selinux-policy-%{selinuxtype} Requires(post): selinux-policy-%{selinuxtype} %{?selinux_requires}