From: Jacek Konieczny Date: Thu, 18 Oct 2018 08:59:28 +0000 (+0200) Subject: _noautoreq for some modules included in Python 3 X-Git-Tag: auto/th/python3-cryptography-35.0.0-0.1~19 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython3-cryptography.git;a=commitdiff_plain;h=e1ba2a80ca8d0f2c9616fe330c429ac1cb4b164f;ds=sidebyside _noautoreq for some modules included in Python 3 --- 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