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