From c1b29f4fc797654270f1416337a61bf58fbea7c3 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 23 Oct 2017 13:37:50 -0400 Subject: [PATCH 1/3] Change Requires to openssl-libs The openssl package has been split quite a while, and this package only needs the shared library. I'm making this change because `openssl` today `Requires: make` which is unfortunate for Atomic Host. See: https://bugzilla.redhat.com/show_bug.cgi?id=783446#c4 --- python-cryptography.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-cryptography.spec b/python-cryptography.spec index 9183c26..054bf65 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -66,7 +66,7 @@ Obsoletes: python-%{srcname} <= %{version}-%{release} Provides: python-%{srcname} %endif -Requires: openssl +Requires: openssl-libs Requires: python2-idna >= 2.1 Requires: python2-asn1crypto >= 0.21 Requires: python2-six >= 1.4.1 @@ -84,7 +84,7 @@ Group: Development/Libraries Summary: PyCA's cryptography library %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} -Requires: openssl +Requires: openssl-libs Requires: python%{python3_pkgversion}-idna >= 2.1 Requires: python%{python3_pkgversion}-asn1crypto >= 0.21 Requires: python%{python3_pkgversion}-six >= 1.4.1 From 7c34b00eaeaaefa339844e97279974fffe9db150 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Tue, 24 Oct 2017 11:56:24 +0200 Subject: [PATCH 2/3] Change Requires to openssl-libs --- python-cryptography.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-cryptography.spec b/python-cryptography.spec index 054bf65..487fa37 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -9,7 +9,7 @@ Name: python-%{srcname} Version: 2.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: PyCA's cryptography library Group: Development/Libraries @@ -159,6 +159,9 @@ popd %changelog +* Tue Oct 24 2017 Christian Heimes - 2.0.2-2 +- Change Requires to openssl-libs + * Thu Aug 03 2017 Christian Heimes - 2.0.2-1 - New upstream release 2.0.2 - Modernize spec From d1d8ddb434d0e44e6803d03d9d6550c8c78d77ac Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Sun, 18 Feb 2018 22:38:01 +0100 Subject: [PATCH 3/3] Build requires gcc --- python-cryptography.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-cryptography.spec b/python-cryptography.spec index 487fa37..eddd073 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -9,7 +9,7 @@ Name: python-%{srcname} Version: 2.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: PyCA's cryptography library Group: Development/Libraries @@ -18,6 +18,7 @@ URL: https://cryptography.io/en/latest/ Source0: https://pypi.io/packages/source/c/%{srcname}/%{srcname}-%{version}.tar.gz BuildRequires: openssl-devel +BuildRequires: gcc BuildRequires: python2-devel BuildRequires: python2-pytest @@ -159,6 +160,9 @@ popd %changelog +* Sun Feb 18 2018 Christian Heimes - 2.0.2-3 +- Build requires gcc + * Tue Oct 24 2017 Christian Heimes - 2.0.2-2 - Change Requires to openssl-libs