!5 remove python2-dns subpackage
From: @jinzhimin369 Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
354fb814d3
@ -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<jinzhimin2@huawei.com> - 1.15.0-11
|
||||
* remove python2-dns subpackage
|
||||
|
||||
* Fri Dec 6 2019 caomeng<caomeng5@huawei.com> - 1.15.0-10
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user