From f4484c1ae10d8da0b9e80492a1b50ca742dc2919 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Nov 05 2019 19:49:44 +0000 Subject: Use pycryptodomex instead of pycrypto Also use python-ecdsa (except with Python 2). --- diff --git a/python-dns.spec b/python-dns.spec index d5c9d7c..a0c0ca6 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -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 - 1.16.0-5 +- Use pycryptodomex instead of pycrypto +- Also use python-ecdsa (except with Python 2) + * Thu Oct 03 2019 Miro HronĨok - 1.16.0-4 - Rebuilt for Python 3.8.0rc1 (#1748018)