delete python2
This commit is contained in:
parent
a5416e4730
commit
0044cfc2c0
@ -1,6 +1,6 @@
|
||||
Name: python-docopt
|
||||
Version: 0.6.2
|
||||
Release: 11
|
||||
Release: 12
|
||||
Summary: Command-line interface description language
|
||||
License: MIT
|
||||
URL: http://docopt.org/
|
||||
@ -17,13 +17,6 @@ formalized.
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python2-docopt
|
||||
Summary: Command-line interface description language
|
||||
%{?python_provide:%python_provide python2-docopt}
|
||||
BuildRequires: python2-devel python2-pytest python2-setuptools
|
||||
|
||||
%description -n python2-docopt %_description
|
||||
|
||||
%package -n python3-docopt
|
||||
Summary: Command-line interface description language
|
||||
%{?python_provide:%python_provide python3-docopt}
|
||||
@ -35,22 +28,14 @@ BuildRequires: python3-devel python3-pytest python3-setuptools
|
||||
%autosetup -n docopt-%{version} -p1
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
py.test-2.7 -v
|
||||
py.test-3 -v
|
||||
|
||||
%files -n python2-docopt
|
||||
%license LICENSE-MIT
|
||||
%doc README.rst
|
||||
%{python2_sitelib}/*
|
||||
|
||||
%files -n python3-docopt
|
||||
%license LICENSE-MIT
|
||||
%doc README.rst
|
||||
@ -58,5 +43,8 @@ py.test-3 -v
|
||||
%{python3_sitelib}/__pycache__/*
|
||||
|
||||
%changelog
|
||||
* Sat Oct 24 2020 tianwei <tianwei12@huawei.com> - 0.6.2-12
|
||||
- delete python2
|
||||
|
||||
* Wed Jan 08 2020 zhouyihang <zhouyihang1@huawei.com> - 0.6.2-11
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user