!4 delete python2.

Merge pull request !4 from tianwei/master
This commit is contained in:
openeuler-ci-bot 2020-08-22 14:58:41 +08:00 committed by Gitee
commit 9c9126f9bd

View File

@ -2,7 +2,7 @@
Name: python-waitress Name: python-waitress
Version: 1.4.4 Version: 1.4.4
Release: 1 Release: 2
Summary: A WSGI server for Python 2 and 3 Summary: A WSGI server for Python 2 and 3
License: ZPLv2.1 License: ZPLv2.1
URL: https://github.com/Pylons/waitress URL: https://github.com/Pylons/waitress
@ -16,18 +16,6 @@ which live in the Python standard library. It runs on CPython on Unix
and Windows under Python 2.7+ and Python 3.5+. It is also known to run and Windows under Python 2.7+ and Python 3.5+. It is also known to run
on PyPy 1.6.0+ on UNIX. It supports HTTP/1.0 and HTTP/1.1. on PyPy 1.6.0+ on UNIX. It supports HTTP/1.0 and HTTP/1.1.
%package -n python2-waitress
%{?python_provide:%python_provide python2-waitress}
Summary: A WSGI server for Python 2 and 3
BuildRequires: python2-devel, python2-setuptools, python2-nose, python2-coverage
%description -n python2-waitress
Waitress is meant to be a production-quality pure-Python WSGI server
with very acceptable performance. It has no dependencies except ones
which live in the Python standard library. It runs on CPython on Unix
and Windows under Python 2.7+ and Python 3.5+. It is also known to run
on PyPy 1.6.0+ on UNIX. It supports HTTP/1.0 and HTTP/1.1.
%package -n python3-waitress %package -n python3-waitress
%{?python_provide:%python_provide python3-waitress} %{?python_provide:%python_provide python3-waitress}
Summary: A WSGI server for Python 2 and 3 Summary: A WSGI server for Python 2 and 3
@ -44,18 +32,11 @@ on PyPy 1.6.0+ on UNIX. It supports HTTP/1.0 and HTTP/1.1.
%autosetup -n waitress-%{version} %autosetup -n waitress-%{version}
%build %build
%py2_build
%py3_build %py3_build
%install %install
%py2_install
%py3_install %py3_install
%files -n python2-waitress
%license COPYRIGHT.txt LICENSE.txt
%doc README.rst CHANGES.txt
%{python2_sitelib}/*
%files -n python3-waitress %files -n python3-waitress
%license COPYRIGHT.txt LICENSE.txt %license COPYRIGHT.txt LICENSE.txt
%doc README.rst CHANGES.txt %doc README.rst CHANGES.txt
@ -63,6 +44,9 @@ on PyPy 1.6.0+ on UNIX. It supports HTTP/1.0 and HTTP/1.1.
%{python3_sitelib}/* %{python3_sitelib}/*
%changelog %changelog
* Sat Aug 22 2020 tianwei <tianwei12@huawei.com> - 1.4.4-2
- delete python2
* Thu Jul 16 2020 jixinjie <jixinjie@huawei.com> - 1.4.4-1 * Thu Jul 16 2020 jixinjie <jixinjie@huawei.com> - 1.4.4-1
- update package to 1.4.4 - update package to 1.4.4