From 14ff94a0d481051613338a512260b6a473671538 Mon Sep 17 00:00:00 2001 From: Pavel Vomacka Date: May 26 2017 10:00:25 +0000 Subject: Change python-cryptography to python2-cryptography Package name is python2-cryptography and even that it Provides python-cryptography package, it causes problems during update of IPA on RHEL - python2-cryptography is not updated. After changing required package name to python2-cryptography upgrade on RHEL works well. Fixes: https://pagure.io/freeipa/issue/6749 Reviewed-By: Martin Babinsky --- diff --git a/freeipa.spec.in b/freeipa.spec.in index 4a66179..2f1883b 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -168,7 +168,7 @@ BuildRequires: python3-wheel %if 0%{?with_lint} BuildRequires: samba-python # 1.4: the version where Certificate.serial changed to .serial_number -BuildRequires: python-cryptography >= 1.4 +BuildRequires: python2-cryptography >= 1.4 BuildRequires: python-gssapi >= 1.2.0 BuildRequires: pylint >= 1.6 # workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1096506 @@ -649,7 +649,7 @@ Requires: keyutils Requires: pyOpenSSL Requires: python >= 2.7.9 Requires: python-nss >= 0.16 -Requires: python-cryptography >= 1.4 +Requires: python2-cryptography >= 1.4 Requires: python-netaddr >= %{python_netaddr_version} Requires: python-libipa_hbac Requires: python-qrcode-core >= 5.0.0