Use pycryptodomex instead of pycrypto
Also use python-ecdsa (except with Python 2).
This commit is contained in:
parent
ebafbe6d91
commit
f4484c1ae1
@ -25,7 +25,7 @@ manipulation of DNS zones, messages, names, and records. \
|
||||
|
||||
Name: python-%{py_package_name}
|
||||
Version: 1.16.0
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: %{summary}
|
||||
|
||||
License: MIT
|
||||
@ -40,25 +40,28 @@ BuildArch: noarch
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
BuildRequires: python2-typing
|
||||
BuildRequires: python2-crypto
|
||||
BuildRequires: python2-pycryptodomex
|
||||
%endif
|
||||
|
||||
%if %{with python3}
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
BuildRequires: python%{python3_pkgversion}-crypto
|
||||
BuildRequires: python%{python3_pkgversion}-ecdsa
|
||||
BuildRequires: python%{python3_pkgversion}-pycryptodomex
|
||||
%endif
|
||||
|
||||
%if 0%{?with_python3}
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
BuildRequires: python%{python3_pkgversion}-crypto
|
||||
BuildRequires: python%{python3_pkgversion}-ecdsa
|
||||
BuildRequires: python%{python3_pkgversion}-pycryptodomex
|
||||
%endif
|
||||
|
||||
%if 0%{?with_python3_other}
|
||||
BuildRequires: python%{python3_other_pkgversion}-devel
|
||||
BuildRequires: python%{python3_other_pkgversion}-setuptools
|
||||
BuildRequires: python%{python3_other_pkgversion}-crypto
|
||||
BuildRequires: python%{python3_other_pkgversion}-ecdsa
|
||||
BuildRequires: python%{python3_other_pkgversion}-pycryptodomex
|
||||
%endif
|
||||
|
||||
%description %{_description}
|
||||
@ -70,7 +73,7 @@ BuildRequires: python%{python3_other_pkgversion}-crypto
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python2-%{py_package_name}}
|
||||
|
||||
Requires: python2-crypto
|
||||
Requires: python2-pycryptodomex
|
||||
|
||||
%description -n python2-%{py_package_name} %{_description}
|
||||
%endif
|
||||
@ -81,7 +84,8 @@ Requires: python2-crypto
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{py_package_name}}
|
||||
|
||||
Requires: python%{python3_pkgversion}-crypto
|
||||
Requires: python%{python3_pkgversion}-ecdsa
|
||||
Requires: python%{python3_pkgversion}-pycryptodomex
|
||||
|
||||
%description -n python%{python3_pkgversion}-%{py_package_name} %{_description}
|
||||
%endif
|
||||
@ -92,7 +96,8 @@ Requires: python%{python3_pkgversion}-crypto
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python%{python3_other_pkgversion}-%{py_package_name}}
|
||||
|
||||
Requires: python%{python3_other_pkgversion}-crypto
|
||||
Requires: python%{python3_other_pkgversion}-ecdsa
|
||||
Requires: python%{python3_other_pkgversion}-pycryptodomex
|
||||
|
||||
%description -n python%{python3_other_pkgversion}-%{py_package_name} %{_description}
|
||||
%endif
|
||||
@ -173,6 +178,10 @@ find examples -type f | xargs chmod a-x
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Nov 5 2019 Paul Howarth <paul@city-fan.org> - 1.16.0-5
|
||||
- Use pycryptodomex instead of pycrypto
|
||||
- Also use python-ecdsa (except with Python 2)
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.16.0-4
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user