Remove python2-extras subpackage
This commit is contained in:
parent
099b9fd678
commit
a3239ce161
@ -1,6 +1,6 @@
|
|||||||
Name: python-extras
|
Name: python-extras
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 6
|
Release: 7
|
||||||
Summary: A set of extensions to the python standard library
|
Summary: A set of extensions to the python standard library
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/testing-cabal/extras
|
URL: https://github.com/testing-cabal/extras
|
||||||
@ -10,14 +10,6 @@ BuildArch: noarch
|
|||||||
%description
|
%description
|
||||||
python-extras is a set of extensions to the standard library.
|
python-extras is a set of extensions to the standard library.
|
||||||
|
|
||||||
%package -n python2-extras
|
|
||||||
Summary: A set of extensions to the python2 standard library
|
|
||||||
BuildRequires: python2-devel python2-setuptools python2-testtools
|
|
||||||
%{?python_provide:%python_provide python2-extras}
|
|
||||||
|
|
||||||
%description -n python2-extras
|
|
||||||
python2-extras is a set of extensions to the standard library.
|
|
||||||
|
|
||||||
%package -n python3-extras
|
%package -n python3-extras
|
||||||
Summary: A set of extensions to the python3 standard library
|
Summary: A set of extensions to the python3 standard library
|
||||||
BuildRequires: python3-devel python3-setuptools python3-testtools
|
BuildRequires: python3-devel python3-setuptools python3-testtools
|
||||||
@ -29,20 +21,15 @@ python3-extras is a set of extensions to the standard library.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -n extras-%{version}
|
%autosetup -n extras-%{version}
|
||||||
rm -vrf *.egg-info
|
rm -vrf *.egg-info
|
||||||
%build
|
|
||||||
%py2_build
|
|
||||||
%py3_build
|
|
||||||
%install
|
|
||||||
%py2_install
|
|
||||||
%py3_install
|
|
||||||
%check
|
|
||||||
%{__python2} setup.py test
|
|
||||||
%{__python3} setup.py test
|
|
||||||
|
|
||||||
%files -n python2-extras
|
%build
|
||||||
%doc LICENSE NEWS README.rst
|
%py3_build
|
||||||
%{python2_sitelib}/extras/
|
|
||||||
%{python2_sitelib}/extras-*.egg-info/
|
%install
|
||||||
|
%py3_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__python3} setup.py test
|
||||||
|
|
||||||
%files -n python3-extras
|
%files -n python3-extras
|
||||||
%doc LICENSE NEWS README.rst
|
%doc LICENSE NEWS README.rst
|
||||||
@ -50,5 +37,8 @@ rm -vrf *.egg-info
|
|||||||
%{python3_sitelib}/extras-*.egg-info/
|
%{python3_sitelib}/extras-*.egg-info/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 10 2020 lingsheng <lingsheng@huawei.com> - 1.0.0-7
|
||||||
|
- Remove python2-extras subpackage
|
||||||
|
|
||||||
* Mon Nov 25 2019 Ling Yang <lingyang2@huawei.com> - 1.0.0-6
|
* Mon Nov 25 2019 Ling Yang <lingyang2@huawei.com> - 1.0.0-6
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user