|
|
590d18 |
From 6bc5c6e1d7af6229e8c6f547951b0b3314ca5f12 Mon Sep 17 00:00:00 2001
|
|
|
590d18 |
From: Jan Cholasta <jcholast@redhat.com>
|
|
|
590d18 |
Date: Wed, 15 Jul 2015 08:45:53 +0000
|
|
|
590d18 |
Subject: [PATCH] spec file: Update minimum required version of krb5
|
|
|
590d18 |
|
|
|
590d18 |
Automatically require the krb5 version used at build time.
|
|
|
590d18 |
|
|
|
590d18 |
https://fedorahosted.org/freeipa/ticket/5132
|
|
|
590d18 |
|
|
|
590d18 |
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
|
|
|
590d18 |
---
|
|
|
590d18 |
freeipa.spec.in | 6 ++++--
|
|
|
590d18 |
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
590d18 |
|
|
|
590d18 |
diff --git a/freeipa.spec.in b/freeipa.spec.in
|
|
|
590d18 |
index e78ad1a0851186c7fdb5ab0a4649b64b2b1e010f..a819710b2bad16a5c17b77670cdb29cb4b09ad8f 100644
|
|
|
590d18 |
--- a/freeipa.spec.in
|
|
|
590d18 |
+++ b/freeipa.spec.in
|
|
|
590d18 |
@@ -11,6 +11,8 @@
|
|
|
590d18 |
%global selinux_policy_version 3.12.1-179
|
|
|
590d18 |
%endif
|
|
|
590d18 |
|
|
|
590d18 |
+%define krb5_base_version %(LC_ALL=C rpm -q --qf '%%{VERSION}' krb5-devel | grep -Eo '^[^.]+\.[^.]+')
|
|
|
590d18 |
+
|
|
|
590d18 |
%global plugin_dir %{_libdir}/dirsrv/plugins
|
|
|
590d18 |
%global etc_systemd_dir %{_sysconfdir}/systemd/system
|
|
|
590d18 |
%global gettext_domain ipa
|
|
|
590d18 |
@@ -52,7 +54,7 @@ BuildRequires: nspr-devel
|
|
|
590d18 |
BuildRequires: nss-devel
|
|
|
590d18 |
BuildRequires: openssl-devel
|
|
|
590d18 |
BuildRequires: openldap-devel
|
|
|
590d18 |
-BuildRequires: krb5-devel >= 1.11
|
|
|
590d18 |
+BuildRequires: krb5-devel >= 1.13
|
|
|
590d18 |
BuildRequires: krb5-workstation
|
|
|
590d18 |
BuildRequires: libuuid-devel
|
|
|
590d18 |
BuildRequires: libcurl-devel >= 7.21.7-2
|
|
|
590d18 |
@@ -119,7 +121,7 @@ Requires: 389-ds-base >= 1.3.4.0
|
|
|
590d18 |
Requires: openldap-clients > 2.4.35-4
|
|
|
590d18 |
Requires: nss >= 3.14.3-12.0
|
|
|
590d18 |
Requires: nss-tools >= 3.14.3-12.0
|
|
|
590d18 |
-Requires: krb5-server >= 1.11.5-5
|
|
|
590d18 |
+Requires(post): krb5-server >= %{krb5_base_version}, krb5-server < %{krb5_base_version}.100
|
|
|
590d18 |
Requires: krb5-pkinit-openssl
|
|
|
590d18 |
Requires: cyrus-sasl-gssapi%{?_isa}
|
|
|
590d18 |
Requires: ntp
|
|
|
590d18 |
--
|
|
|
590d18 |
2.1.0
|
|
|
590d18 |
|