]> git.pld-linux.org Git - packages/python-cryptography.git/commitdiff
_noautoreq for some modules included in Python 3
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Thu, 18 Oct 2018 08:59:28 +0000 (10:59 +0200)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Thu, 18 Oct 2018 08:59:28 +0000 (10:59 +0200)
python-cryptography.spec

index b1b6c480e72d0d7c834c705b7220dbbf4a6bfe96..ee04cb6a4eb90cd21d33cd20c00f6ac83fb8c632 100644 (file)
@@ -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
This page took 0.084107 seconds and 4 git commands to generate.