From e1ba2a80ca8d0f2c9616fe330c429ac1cb4b164f Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Thu, 18 Oct 2018 10:59:28 +0200 Subject: [PATCH] _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 -- 2.43.0