diff --git a/python-dns.spec b/python-dns.spec index 38e487d905d73dee9e430d60469bca7064bda074..7e92719295d10b75caa00fdb6666ad8c91b8c615 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-pycryptodomex python3-ecdsa 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-pycryptodomex python3-ecdsa %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 +* Thu Aug 13 2020 shixuantong - 1.15.0-11 +- Use pycryptodomex instead of pycrypto and remove python2 + * Fri Dec 6 2019 caomeng - 1.15.0-10 - Package init \ No newline at end of file