- require fixed rpm-pythonprov instead
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 18 Oct 2018 15:32:52 +0000 (17:32 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 18 Oct 2018 15:32:52 +0000 (17:32 +0200)
python-cryptography.spec

index ee04cb6a4eb90cd21d33cd20c00f6ac83fb8c632..551ab8724255f9ea2ac73068c56bc51b50e5a96c 100644 (file)
@@ -16,7 +16,7 @@ Source0:      https://files.pythonhosted.org/packages/source/c/cryptography/cryptogra
 # Source0-md5: 2b5e8269c43c9b9ab54fc8c75ba3c7ac
 URL:           https://cryptography.io/
 BuildRequires: openssl-devel >= 1.0.1
-BuildRequires: rpm-pythonprov
+BuildRequires: rpm-pythonprov >= 5.4.15-48
 BuildRequires: rpmbuild(macros) >= 1.714
 %if %{with python2}
 BuildRequires: python-cffi >= 1.4.1
@@ -40,7 +40,7 @@ BuildRequires:        python-pytest
 %endif
 %if %{with python3}
 BuildRequires: python3-cffi >= 1.4.1
-BuildRequires: python3-devel >= 1:3.3
+BuildRequires: python3-devel >= 1:3.4
 BuildRequires: python3-pyasn1 >= 0.1.8
 BuildRequires: python3-setuptools >= 11.3
 BuildRequires: python3-six >= 1.4.1
@@ -59,9 +59,6 @@ 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
@@ -93,9 +90,6 @@ Summary(pl.UTF-8):    Biblioteka Cryptography dla Pythona 3
 Group:         Libraries/Python
 Requires:      openssl >= 1.0.1
 Requires:      python3-cffi >= 1.4.1
-%if "%{py3_ver}" < "3.4"
-Requires:      python3-enum34
-%endif
 Requires:      python3-six >= 1.4.1
 
 %description -n python3-cryptography
This page took 0.057267 seconds and 4 git commands to generate.