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