diff --git a/python-dns.spec b/python-dns.spec index 38e487d905d73dee9e430d60469bca7064bda074..645a18da02e7e8874841cb782fc3910668979175 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -14,33 +14,24 @@ 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: python3-devel python3-setuptools python3-ecdsa python3-pycryptodomex BuildArch: noarch %description %{_description} -%package -n python2-dns -Summary: %{sum} -%{?python_provide:%python_provide python2-dns} -Requires: python2-crypto - -%description -n python2-dns -%{_description} - %package -n python3-dns Summary: %{sum} %{?python_provide:%python_provide python3-dns} -Requires: python3-crypto +Requires: python3-ecdsa python3-pycryptodomex %description -n python3-dns %{_description} @@ -52,22 +43,14 @@ Requires: python3-crypto 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 @@ -77,5 +60,8 @@ find examples -type f | xargs chmod a-x %doc ChangeLog examples %changelog +* Fri Aug 7 2020 zengwefeng - 1.15.0-11 +- use python-ecdsa python-pycryptodomex instead of python-crypto + * Fri Dec 6 2019 caomeng - 1.15.0-10 -- Package init \ No newline at end of file +- Package init