[packages/python-cryptography] _noautoreq for some modules included in Python 3

jajcus jajcus at pld-linux.org
Thu Oct 18 11:00:50 CEST 2018


commit e1ba2a80ca8d0f2c9616fe330c429ac1cb4b164f
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Thu Oct 18 10:59:28 2018 +0200

    _noautoreq for some modules included in Python 3

 python-cryptography.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/python-cryptography.spec b/python-cryptography.spec
index b1b6c48..ee04cb6 100644
--- a/python-cryptography.spec
+++ b/python-cryptography.spec
@@ -41,9 +41,6 @@ BuildRequires:	python-pytest
 %if %{with python3}
 BuildRequires:	python3-cffi >= 1.4.1
 BuildRequires:	python3-devel >= 1:3.3
-%if "%{py3_ver}" < "3.4"
-BuildRequires:	python3-enum34
-%endif
 BuildRequires:	python3-pyasn1 >= 0.1.8
 BuildRequires:	python3-setuptools >= 11.3
 BuildRequires:	python3-six >= 1.4.1
@@ -62,6 +59,9 @@ Requires:	python-cffi >= 1.4.1
 Requires:	python-six >= 1.4.1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# modern Python provides those
+%define _noautoreq python3egg.ipaddress python3egg.enum34
+
 %description
 cryptography is a package designed to expose cryptographic recipes and
 primitives to Python developers. Our goal is for it to be your
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-cryptography.git/commitdiff/e1ba2a80ca8d0f2c9616fe330c429ac1cb4b164f



More information about the pld-cvs-commit mailing list