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

--
Martin^3 Babinsky
From 4c79c77efc9b4bf1dc4ae1d371d5cb61ea15f1ce Mon Sep 17 00:00:00 2001
From: Martin Babinsky <mbabi...@redhat.com>
Date: Thu, 17 Mar 2016 18:23:22 +0100
Subject: [PATCH] spec: require python-cryptography newer than 0.9

When generating keys for custodia service, the key material is stored in
python-cryptography's OpenSSL backend encoded as DER. This only works in
python-cryptography 0.9 and newer so we need to make sure this version pulled
in during RPM build and install.

https://fedorahosted.org/freeipa/ticket/5744
---
 freeipa.spec.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/freeipa.spec.in b/freeipa.spec.in
index 71a5df0455e021832caa01b5519af5aa612af061..9b040999ba91d4a49b44c8154d9db4655dcc693c 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -70,7 +70,7 @@ BuildRequires:  python-devel
 BuildRequires:  python-ldap
 BuildRequires:  python-setuptools
 BuildRequires:  python-nss
-BuildRequires:  python-cryptography
+BuildRequires:  python-cryptography >= 0.9
 BuildRequires:  python-netaddr
 BuildRequires:  python-gssapi >= 1.1.2
 BuildRequires:  python-rhsm
@@ -481,7 +481,7 @@ Requires: iproute
 Requires: keyutils
 Requires: pyOpenSSL
 Requires: python-nss >= 0.16
-Requires: python-cryptography
+Requires: python-cryptography >= 0.9
 Requires: python-lxml
 Requires: python-netaddr
 Requires: python-libipa_hbac
-- 
2.5.0

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to