!2 remove python2 of package python-more-itertools
From: @wang--ge Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
ad8dd10966
@ -1,6 +1,6 @@
|
|||||||
Name: python-more-itertools
|
Name: python-more-itertools
|
||||||
Version: 4.1.0
|
Version: 4.1.0
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: An opensource python library wrapping around itertools
|
Summary: An opensource python library wrapping around itertools
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/erikrose/more-itertools
|
URL: https://github.com/erikrose/more-itertools
|
||||||
@ -13,16 +13,6 @@ This is a python library for efficient use of itertools utility, which also \
|
|||||||
includes implementations of the recipes from the itertools documentation.\
|
includes implementations of the recipes from the itertools documentation.\
|
||||||
See https://pythonhosted.org/more-itertools/index.html for more information.
|
See https://pythonhosted.org/more-itertools/index.html for more information.
|
||||||
|
|
||||||
%package -n python2-more-itertools
|
|
||||||
Summary: An opensource python library wrapping around itertools
|
|
||||||
BuildRequires: python2-devel python2-six
|
|
||||||
%{?python_provide:%python_provide python2-more-itertools}
|
|
||||||
|
|
||||||
%description -n python2-more-itertools
|
|
||||||
This is a python library for efficient use of itertools utility, which also \
|
|
||||||
includes implementations of the recipes from the itertools documentation.\
|
|
||||||
See https://pythonhosted.org/more-itertools/index.html for more information.
|
|
||||||
|
|
||||||
%package -n python3-more-itertools
|
%package -n python3-more-itertools
|
||||||
Summary: An opensource python library wrapping around itertools
|
Summary: An opensource python library wrapping around itertools
|
||||||
BuildRequires: python3-devel python3-six
|
BuildRequires: python3-devel python3-six
|
||||||
@ -37,23 +27,14 @@ See https://pythonhosted.org/more-itertools/index.html for more information.
|
|||||||
%autosetup -n more-itertools-%{version} -p1
|
%autosetup -n more-itertools-%{version} -p1
|
||||||
|
|
||||||
%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-more-itertools
|
|
||||||
%doc README.rst PKG-INFO LICENSE
|
|
||||||
%{python2_sitelib}/more_itertools/
|
|
||||||
%exclude %{python2_sitelib}/more_itertools/tests
|
|
||||||
%{python2_sitelib}/more_itertools-%{version}-py%{python2_version}.egg-info
|
|
||||||
|
|
||||||
%files -n python3-more-itertools
|
%files -n python3-more-itertools
|
||||||
%doc README.rst PKG-INFO LICENSE
|
%doc README.rst PKG-INFO LICENSE
|
||||||
%{python3_sitelib}/more_itertools/
|
%{python3_sitelib}/more_itertools/
|
||||||
@ -61,5 +42,8 @@ See https://pythonhosted.org/more-itertools/index.html for more information.
|
|||||||
%{python3_sitelib}/more_itertools-%{version}-py%{python3_version}.egg-info
|
%{python3_sitelib}/more_itertools-%{version}-py%{python3_version}.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 21 2020 Ge Wang <wangge20@huawei.com> - 4.1.0-6
|
||||||
|
- remove python2
|
||||||
|
|
||||||
* Fri Nov 15 2019 sunguoshuai <sunguoshuai@huawei.com> - 4.1.0-5
|
* Fri Nov 15 2019 sunguoshuai <sunguoshuai@huawei.com> - 4.1.0-5
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user