From 1c7001bad4f95cda92601e9c9df504f89fe06ad4 Mon Sep 17 00:00:00 2001 From: zhanghua Date: Thu, 29 Oct 2020 15:01:07 +0800 Subject: [PATCH] remove python2 of package python-setuptools_git --- python-setuptools_git.spec | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-) diff --git a/python-setuptools_git.spec b/python-setuptools_git.spec index f6b12c7..609df9e 100644 --- a/python-setuptools_git.spec +++ b/python-setuptools_git.spec @@ -1,6 +1,6 @@ Name: python-setuptools_git Version: 1.1 -Release: 11 +Release: 12 Summary: Plugin for integrating Git into setuptools License: BSD URL: https://pypi.python.org/project/setuptools-git/%{version}/ @@ -14,20 +14,6 @@ installed, Setuptools can be told to include in a module distribution all the files tracked by git. This is an alternative to explicit inclusion specifications with MANIFEST.in. -%package -n python2-setuptools_git -Summary: Plugin for integrating Git into setuptools - -BuildRequires: python2-devel python2-setuptools -Requires: python2-setuptools -Provides: python2-setuptools-git == %{version}-%{release} -%{?python_provide:%python_provide python2-setuptools_git} - -%description -n python2-setuptools_git -This is a plugin for setup tools that enables Git integration. Once -installed, Setuptools can be told to include in a module distribution -all the files tracked by git. This is an alternative to explicit -inclusion specifications with MANIFEST.in. - %package -n python3-setuptools_git Summary: Plugin for integrating Git into setuptools @@ -46,11 +32,9 @@ inclusion specifications with MANIFEST.in. %autosetup -n setuptools-git-%{version} -p1 %build -%py2_build %py3_build %install -%py2_install %py3_install %check @@ -59,23 +43,20 @@ inclusion specifications with MANIFEST.in. %{_bindir}/git init %{_bindir}/git add . %{_bindir}/git commit -m 'commit test' -%{__python2} setup.py test -vv export LANG="en_US.UTF-8" %{__python3} setup.py test -vv unset LANG -%files -n python2-setuptools_git -%doc PKG-INFO TODO.txt README.rst -%license LICENSE.txt AUTHORS.txt -%{python2_sitelib}/setuptools_git*/ - %files -n python3-setuptools_git %doc PKG-INFO TODO.txt README.rst %license LICENSE.txt AUTHORS.txt %{python3_sitelib}/setuptools_git*/ %changelog -& Sat Jan 18 2020 Lei Zhang - 1.1-11 +* Wed Oct 21 2020 zhanghua - 1.1-12 +- remove python2 subpackage + +* Sat Jan 18 2020 Lei Zhang - 1.1-11 - Modify the wrong URL * Tue Jan 07 2020 Lei Zhang - 1.1-10