!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
|
Name: python-dns
|
||||||
Summary: %{sum}
|
Summary: %{sum}
|
||||||
Version: 1.15.0
|
Version: 1.15.0
|
||||||
Release: 10
|
Release: 11
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.dnspython.org/
|
URL: http://www.dnspython.org/
|
||||||
Source0: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz
|
Source0: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz
|
||||||
|
|
||||||
Patch0: test_fails_on_missing_file.patch
|
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-crypto
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -29,14 +28,6 @@ BuildArch: noarch
|
|||||||
%description
|
%description
|
||||||
%{_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
|
%package -n python3-dns
|
||||||
Summary: %{sum}
|
Summary: %{sum}
|
||||||
%{?python_provide:%python_provide python3-dns}
|
%{?python_provide:%python_provide python3-dns}
|
||||||
@ -52,22 +43,14 @@ Requires: python3-crypto
|
|||||||
find examples -type f | xargs chmod a-x
|
find examples -type f | xargs chmod a-x
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python2} setup.py test
|
|
||||||
%{__python3} setup.py test
|
%{__python3} setup.py test
|
||||||
|
|
||||||
%files -n python2-dns
|
|
||||||
%doc LICENSE
|
|
||||||
%{python2_sitelib}/*egg-info
|
|
||||||
%{python2_sitelib}/dns
|
|
||||||
|
|
||||||
%files -n python3-dns
|
%files -n python3-dns
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
%{python3_sitelib}/*egg-info
|
%{python3_sitelib}/*egg-info
|
||||||
@ -77,5 +60,8 @@ find examples -type f | xargs chmod a-x
|
|||||||
%doc ChangeLog examples
|
%doc ChangeLog examples
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Dec 6 2019 caomeng<caomeng5@huawei.com> - 1.15.0-10
|
||||||
- Package init
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user