!3 Remove subpackage python2-configparser
From: @lei_ju Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
1231832b6b
@ -5,24 +5,18 @@ those changes so that they can be used directly in Python 2.6 - 3.5.
|
||||
|
||||
Name: python-configparser
|
||||
Version: 3.5.0b2
|
||||
Release: 11
|
||||
Release: 12
|
||||
Summary: Configuration file parser for python
|
||||
License: MIT
|
||||
URL: https://bitbucket.org/ambv/configparser
|
||||
Source0: https://pypi.python.org/packages/source/c/configparser/configparser-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python2-devel python2-setuptools python3-devel python3-setuptools
|
||||
Requires: python2-setuptools python3-setuptools
|
||||
BuildRequires: python3-devel python3-setuptools
|
||||
Requires: python3-setuptools
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python2-configparser
|
||||
Summary: Configuration file parser for python
|
||||
%{?python_provide:%python_provide python2-configparser}
|
||||
|
||||
%description -n python2-configparser %_description
|
||||
|
||||
%package -n python3-configparser
|
||||
Summary: Configuration file parser for python
|
||||
%{?python_provide:%python_provide python3-configparser}
|
||||
@ -34,25 +28,21 @@ Summary: Configuration file parser for python
|
||||
rm -rf *.egg-info
|
||||
|
||||
%build
|
||||
%{__python2} setup.py build
|
||||
%{__python3} setup.py build
|
||||
|
||||
%install
|
||||
%{__python2} setup.py install --skip-build --root %{buildroot}
|
||||
%{__python3} setup.py install --skip-build --root %{buildroot}
|
||||
|
||||
%check
|
||||
%{__python2} setup.py test
|
||||
%{__python3} setup.py test
|
||||
|
||||
%files -n python2-configparser
|
||||
%doc README.rst
|
||||
%{python2_sitelib}/*
|
||||
|
||||
%files -n python3-configparser
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Wed Oct 21 2020 chengzihan <chengzihan2@huawei.com> - 3.5.0b2-12
|
||||
- Remove subpackage python2-configparser
|
||||
|
||||
* Fri Nov 15 2019 sunguoshuai <sunguoshuai@huawei.com> - 3.5.0b2-11
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user