483b06
From a2747fd0b73818babe82a81c07a098124830b85d Mon Sep 17 00:00:00 2001
483b06
From: Pavel Vomacka <pvomacka@redhat.com>
483b06
Date: Fri, 19 May 2017 16:32:28 +0200
483b06
Subject: [PATCH] Change python-cryptography to python2-cryptography
483b06
483b06
Package name is python2-cryptography and even that it Provides
483b06
python-cryptography package, it causes problems during update of IPA
483b06
on RHEL - python2-cryptography is not updated. After changing required package
483b06
name to python2-cryptography upgrade on RHEL works well.
483b06
483b06
Fixes: https://pagure.io/freeipa/issue/6749
483b06
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
483b06
---
483b06
 freeipa.spec.in | 4 ++--
483b06
 1 file changed, 2 insertions(+), 2 deletions(-)
483b06
483b06
diff --git a/freeipa.spec.in b/freeipa.spec.in
483b06
index 790e5838e0ba45ea9bbfe3bc3a1bd40c0bd3ac1a..2cbaa60df0db021a4a1ce10af383cd6a15e1e57c 100644
483b06
--- a/freeipa.spec.in
483b06
+++ b/freeipa.spec.in
483b06
@@ -164,7 +164,7 @@ BuildRequires:  python3-wheel
483b06
 %if 0%{?with_lint}
483b06
 BuildRequires:  samba-python
483b06
 # 1.4: the version where Certificate.serial changed to .serial_number
483b06
-BuildRequires:  python-cryptography >= 1.4
483b06
+BuildRequires:  python2-cryptography >= 1.4
483b06
 BuildRequires:  python-gssapi >= 1.2.0
483b06
 BuildRequires:  pylint >= 1.6
483b06
 # workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1096506
483b06
@@ -645,7 +645,7 @@ Requires: keyutils
483b06
 Requires: pyOpenSSL
483b06
 Requires: python >= 2.7.9
483b06
 Requires: python-nss >= 0.16
483b06
-Requires: python-cryptography >= 1.4
483b06
+Requires: python2-cryptography >= 1.4
483b06
 Requires: python-netaddr
483b06
 Requires: python-libipa_hbac
483b06
 Requires: python-qrcode-core >= 5.0.0
483b06
-- 
483b06
2.9.4
483b06