From 219b5d850ef8dea4ae8ed9675e5db3846299ad9d Mon Sep 17 00:00:00 2001 From: zengweifeng Date: Fri, 7 Aug 2020 09:54:14 +0800 Subject: [PATCH 1/3] use python-pycryptodomex and python-ecdsa instead of python-crypto --- python-dns.spec | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/python-dns.spec b/python-dns.spec index 38e487d..b8bd5e7 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -14,15 +14,15 @@ messages, names, and records. Name: python-dns Summary: %{sum} Version: 1.15.0 -Release: 10 +Release: 11 License: MIT URL: http://www.dnspython.org/ Source0: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz Patch0: test_fails_on_missing_file.patch -BuildRequires: python2-devel python2-setuptools python2-crypto -BuildRequires: python3-devel python3-setuptools python3-crypto +BuildRequires: python2-devel python2-setuptools python2-pycryptodomex +BuildRequires: python3-devel python3-setuptools python3-ecdsa python3-pycryptodomex BuildArch: noarch @@ -32,7 +32,7 @@ BuildArch: noarch %package -n python2-dns Summary: %{sum} %{?python_provide:%python_provide python2-dns} -Requires: python2-crypto +Requires: python2-pycryptodomex %description -n python2-dns %{_description} @@ -40,9 +40,9 @@ Requires: python2-crypto %package -n python3-dns Summary: %{sum} %{?python_provide:%python_provide python3-dns} -Requires: python3-crypto +Requires: python3-ecdsa python3-pycryptodomex -%description -n python3-dns +ecdsa%description -n python3-dns %{_description} %package_help @@ -77,5 +77,10 @@ find examples -type f | xargs chmod a-x %doc ChangeLog examples %changelog +* Fri Aug 7 2020 zengwefeng - 1.15.0-11 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:use python-pycryptodomex and python-ecdsa instead of python-crypto * Fri Dec 6 2019 caomeng - 1.15.0-10 -- Package init \ No newline at end of file +- Package init -- Gitee From 118194d8fb9011d948d0ba088d33ee27ba1a71ca Mon Sep 17 00:00:00 2001 From: zengweifeng Date: Fri, 7 Aug 2020 09:59:08 +0800 Subject: [PATCH 2/3] use python-pycryptodomex and python-ecdsa instead of python-crypto --- python-dns.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-dns.spec b/python-dns.spec index b8bd5e7..0dde087 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -42,7 +42,7 @@ Summary: %{sum} %{?python_provide:%python_provide python3-dns} Requires: python3-ecdsa python3-pycryptodomex -ecdsa%description -n python3-dns +%description -n python3-dns %{_description} %package_help @@ -82,5 +82,6 @@ find examples -type f | xargs chmod a-x - ID:NA - SUG:NA - DESC:use python-pycryptodomex and python-ecdsa instead of python-crypto + * Fri Dec 6 2019 caomeng - 1.15.0-10 - Package init -- Gitee From 2eb0ce19fb73c268ce8363187e1d2109ba908842 Mon Sep 17 00:00:00 2001 From: zengweifeng Date: Tue, 18 Aug 2020 19:44:42 +0800 Subject: [PATCH 3/3] use python-ecdsa python-pycryptodomex instead of python-crypto --- python-dns.spec | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/python-dns.spec b/python-dns.spec index 0dde087..645a18d 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -21,7 +21,6 @@ Source0: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz Patch0: test_fails_on_missing_file.patch -BuildRequires: python2-devel python2-setuptools python2-pycryptodomex BuildRequires: python3-devel python3-setuptools python3-ecdsa python3-pycryptodomex BuildArch: noarch @@ -29,14 +28,6 @@ BuildArch: noarch %description %{_description} -%package -n python2-dns -Summary: %{sum} -%{?python_provide:%python_provide python2-dns} -Requires: python2-pycryptodomex - -%description -n python2-dns -%{_description} - %package -n python3-dns Summary: %{sum} %{?python_provide:%python_provide python3-dns} @@ -52,22 +43,14 @@ Requires: python3-ecdsa python3-pycryptodomex find examples -type f | xargs chmod a-x %build -%py2_build %py3_build %install -%py2_install %py3_install %check -%{__python2} setup.py test %{__python3} setup.py test -%files -n python2-dns -%doc LICENSE -%{python2_sitelib}/*egg-info -%{python2_sitelib}/dns - %files -n python3-dns %doc LICENSE %{python3_sitelib}/*egg-info @@ -78,10 +61,7 @@ find examples -type f | xargs chmod a-x %changelog * Fri Aug 7 2020 zengwefeng - 1.15.0-11 -- Type:bugfix -- ID:NA -- SUG:NA -- DESC:use python-pycryptodomex and python-ecdsa instead of python-crypto +- use python-ecdsa python-pycryptodomex instead of python-crypto * Fri Dec 6 2019 caomeng - 1.15.0-10 - Package init -- Gitee