Remove redundant pki-* package Requires and change PKI server theme
Requires to correct package name.

https://fedorahosted.org/freeipa/ticket/3213

---

The patch fixes broken Requires with the new server theme package name (thanks
Ade for help):

# rpm -q pki-ca
pki-ca-10.0.0-0.52.b3.fc18.noarch
# rpm -qa "*pki-*-theme"
dogtag-pki-server-theme-10.0.0-0.7.b3.fc18.noarch

[root@vm-104 freeipa-3.0.1-1.fc18]# rpm -Uvh --force freeipa-*
error: Failed dependencies:
        dogtag-pki-common-theme is needed by freeipa-server-3.0.1-1.fc18.x86_64


This patch is intended for Fedora 18 only, of course.

Martin
From c8741e8b37ccd3c5954176aa06ac46a9045e1a70 Mon Sep 17 00:00:00 2001
From: Martin Kosek <mko...@redhat.com>
Date: Wed, 14 Nov 2012 09:23:53 +0100
Subject: [PATCH] Add requires for new dogtag10 and its server theme

Remove redundant pki-* package Requires and change PKI server theme
Requires to correct package name.

https://fedorahosted.org/freeipa/ticket/3213
---
 freeipa.spec.in | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/freeipa.spec.in b/freeipa.spec.in
index 3f446032360a37d6aeb55c287eea2c0cd088bf31..e7f32ced351d042d478e841ac514a5e71cd3aa4f 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -149,11 +149,8 @@ Requires: selinux-policy >= 3.9.7-27
 %endif
 Requires(post): selinux-policy-base
 Requires: slapi-nis >= 0.40
-Requires: pki-ca >= 9.0.18
-Requires: pki-silent >= 9.0.18
-Requires: pki-setup  >= 9.0.18
-Requires: dogtag-pki-common-theme
-Requires: dogtag-pki-ca-theme
+Requires: pki-ca >= 10.0.0-0.52.b3
+Requires: dogtag-pki-server-theme
 %if 0%{?fedora} >= 18
 Requires: tomcat6 >= 6.0.35-4
 %else
@@ -829,6 +826,9 @@ fi
 %ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/ipa/ca.crt
 
 %changelog
+* Wed Nov 14 2012 Martin Kosek <mko...@redhat.com> - 3.0.99-4
+- Add Requires for the new Dogtag 10 and dogtag-pki-server-theme
+
 * Fri Nov 09 2012 Martin Kosek <mko...@redhat.com> - 3.0.99-3
 - Set min for bind-dyndb-ldap to 2.3-2 to pick up disabling global
   forwarder per-zone
-- 
1.7.11.7

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to