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