bb0ded
From ee39de46a1c1ea96bbe524f159ae435319b2d072 Mon Sep 17 00:00:00 2001
bb0ded
From: Alexander Bokovoy <abokovoy@redhat.com>
bb0ded
Date: Thu, 3 Mar 2022 14:43:11 +0200
bb0ded
Subject: [PATCH] freeipa.spec: bump crypto-policies dependency for CentOS 9
bb0ded
 Stream
bb0ded
bb0ded
Fixes: https://pagure.io/freeipa/issue/9119
bb0ded
bb0ded
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
bb0ded
Reviewed-By: Julien Rische <jrische@redhat.com>
bb0ded
Reviewed-By: Francisco Trivino <ftrivino@redhat.com>
bb0ded
---
bb0ded
 freeipa.spec.in | 6 ++++++
bb0ded
 1 file changed, 6 insertions(+)
bb0ded
bb0ded
diff --git a/freeipa.spec.in b/freeipa.spec.in
bb0ded
index 0b24febc0baff6f60fd2b4cb254971bd3e3aa3b8..c1d81605068c6fc3e6c765ad01c4967fa9f03c95 100755
bb0ded
--- a/freeipa.spec.in
bb0ded
+++ b/freeipa.spec.in
bb0ded
@@ -695,6 +695,12 @@ Provides: %{name}-admintools = %{version}-%{release}
bb0ded
 Conflicts: crypto-policies < 20200629-1
bb0ded
 %endif
bb0ded
 
bb0ded
+%if 0%{?rhel} == 9
bb0ded
+# Conflict with crypto-policies < 20220223-1 to get upgraded AD-SUPPORT and
bb0ded
+# AD-SUPPORT-LEGACY policy modules
bb0ded
+Conflicts: crypto-policies < 20220223-1
bb0ded
+%endif
bb0ded
+
bb0ded
 %description client
bb0ded
 IPA is an integrated solution to provide centrally managed Identity (users,
bb0ded
 hosts, services), Authentication (SSO, 2FA), and Authorization
bb0ded
-- 
bb0ded
2.34.1
bb0ded