From 1498c376fb1e7dff094ed393ba552534b3ffeede Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Nov 19 2014 11:57:48 +0000 Subject: Lower pki-ca requires to 10.1.2 Current Dogtag 10.2 and it's requirements are not properly packaged for CentOS, yet. To enable FreeIPA running on CentOS 7.0, lower the Requires on Fedora 20 and CentOS platform on Dogtag 10.1.2 which has the patches required by FreeIPA backported and which has all dependencies avaiable. https://fedorahosted.org/freeipa/ticket/4737 --- diff --git a/freeipa.spec b/freeipa.spec index bd03c46..9a05bd3 100644 --- a/freeipa.spec +++ b/freeipa.spec @@ -133,7 +133,14 @@ Requires(post): systemd-units Requires: selinux-policy >= %{selinux_policy_version} Requires(post): selinux-policy-base Requires: slapi-nis >= 0.54.1-1 +%if (0%{?fedora} <= 20 || 0%{?rhel}) +# pki-ca 10.1.2-4 contains patches required by FreeIPA 4.1 +# The goal is to lower the requirement of pki-ca in Fedora 20 +# and CentOS until packaging of it's requirements is finished. +Requires: pki-ca >= 10.1.2-4 +%else Requires: pki-ca >= 10.2.0-3 +%endif %if 0%{?rhel} Requires: subscription-manager %endif