remove python2 subpackage
This commit is contained in:
parent
f1a8035ebe
commit
f187557ece
@ -1,23 +1,16 @@
|
|||||||
Name: python-incremental
|
Name: python-incremental
|
||||||
Version: 17.5.0
|
Version: 17.5.0
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: A small library versions your Python projects
|
Summary: A small library versions your Python projects
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/twisted/incremental
|
URL: https://github.com/twisted/incremental
|
||||||
Source0: https://files.pythonhosted.org/packages/source/i/incremental/incremental-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/i/incremental/incremental-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel python2-setuptools python3-devel python3-setuptools
|
BuildRequires: python3-devel python3-setuptools
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Incremental is a small library that versions your Python projects.
|
Incremental is a small library that versions your Python projects.
|
||||||
|
|
||||||
%package -n python2-incremental
|
|
||||||
Summary: A small library versions your Python projects
|
|
||||||
%python_provide python2-incremental
|
|
||||||
|
|
||||||
%description -n python2-incremental
|
|
||||||
Incremental is a small library that versions your Python projects.
|
|
||||||
|
|
||||||
%package -n python3-incremental
|
%package -n python3-incremental
|
||||||
Summary: A small library versions your Python projects
|
Summary: A small library versions your Python projects
|
||||||
%python_provide python3-incremental
|
%python_provide python3-incremental
|
||||||
@ -30,18 +23,10 @@ Incremental is a small library that versions your Python projects.
|
|||||||
rm -rf incremental.egg-info
|
rm -rf incremental.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
%py2_install
|
|
||||||
|
|
||||||
%files -n python2-incremental
|
|
||||||
%doc LICENSE
|
|
||||||
%doc README.rst
|
|
||||||
%{python2_sitelib}/incremental
|
|
||||||
%{python2_sitelib}/incremental-%{version}-py?.?.egg-info
|
|
||||||
|
|
||||||
%files -n python3-incremental
|
%files -n python3-incremental
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
@ -50,5 +35,8 @@ rm -rf incremental.egg-info
|
|||||||
%{python3_sitelib}/incremental-%{version}-py?.?.egg-info
|
%{python3_sitelib}/incremental-%{version}-py?.?.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 21 2020 leiju <leiju4@huawei.com> - 17.5.0-6
|
||||||
|
- remove python2 subpackage
|
||||||
|
|
||||||
* Fri Feb 21 2020 gulining<gulining1@huawei.com> - 17.5.0-5
|
* Fri Feb 21 2020 gulining<gulining1@huawei.com> - 17.5.0-5
|
||||||
- Package init.
|
- Package init.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user