From: Arkadiusz Miƛkiewicz Date: Thu, 18 Oct 2018 15:32:52 +0000 (+0200) Subject: - require fixed rpm-pythonprov instead X-Git-Tag: auto/th/python3-cryptography-35.0.0-0.1~18 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython3-cryptography.git;a=commitdiff_plain;h=d331861;ds=sidebyside - require fixed rpm-pythonprov instead --- diff --git a/python-cryptography.spec b/python-cryptography.spec index ee04cb6..551ab87 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -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