From 6092332c506b257f433dc6365e0869dccdc0110d Mon Sep 17 00:00:00 2001 From: jinzhimin369 Date: Thu, 29 Oct 2020 17:33:48 +0800 Subject: [PATCH] remove python2-dns subpackage --- python-dns.spec | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/python-dns.spec b/python-dns.spec index 38e487d..ad65789 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -14,14 +14,13 @@ 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 BuildArch: noarch @@ -29,14 +28,6 @@ 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} @@ -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 +* Wed Oct 21 2020 jinzhimin - 1.15.0-11 +* remove python2-dns subpackage + * Fri Dec 6 2019 caomeng - 1.15.0-10 - Package init \ No newline at end of file