python-waitress/python-waitress.spec

69 lines
2.1 KiB
RPMSpec
Raw Normal View History

2020-02-17 16:51:22 +08:00
%global _docdir_fmt %{name}
Name: python-waitress
2021-07-08 16:06:42 +08:00
Version: 2.0.0
Release: 4
2020-02-17 16:51:22 +08:00
Summary: A WSGI server for Python 2 and 3
License: ZPLv2.1
URL: https://github.com/Pylons/waitress
Source0: https://github.com/Pylons/waitress/archive/v%{version}/waitress-%{version}.tar.gz
2022-04-22 06:34:50 +00:00
Patch0: cve-2022-24761.diff
Patch1: CVE-2024-49768.patch
2020-02-17 16:51:22 +08:00
BuildArch: noarch
%description
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
%{?python_provide:%python_provide python3-waitress}
Summary: A WSGI server for Python 2 and 3
2022-01-11 09:53:51 +08:00
BuildRequires: python3-devel, python3-setuptools, python3-coverage
2020-02-17 16:51:22 +08:00
%description -n python3-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.
%prep
2022-04-22 06:34:50 +00:00
%autosetup -n waitress-%{version} -p1
2020-02-17 16:51:22 +08:00
%build
%py3_build
%install
%py3_install
%files -n python3-waitress
%license COPYRIGHT.txt LICENSE.txt
%doc README.rst CHANGES.txt
%{_bindir}/waitress-serve
%{python3_sitelib}/*
%changelog
* Tue Oct 29 2024 liningjie <liningjie@xfusion.com> - 2.0.0-4
- Fix CVE-2024-49768
2022-04-22 06:34:50 +00:00
* Mon Apr 18 2022 Shinwell_Hu <micromotive@qq.com> - 2.0.0-3
- Backport from 2.1.1 to fix CVE-2022-24761
2022-01-11 09:53:51 +08:00
* Tue Jan 11 2022 wulei <wulei80@huawei.com> - 2.0.0-2
- Remove nose dependency
2021-07-08 16:06:42 +08:00
* Thu Jul 08 2021 suoxiaocong <suoxiaocong@kylinos.com> - 2.0.0-1
- update package to 2.0.0
2020-08-22 11:41:20 +08:00
* Sat Aug 22 2020 tianwei <tianwei12@huawei.com> - 1.4.4-2
- delete python2
2020-07-16 10:26:02 +08:00
* Thu Jul 16 2020 jixinjie <jixinjie@huawei.com> - 1.4.4-1
- update package to 1.4.4
2020-02-17 16:51:22 +08:00
* Thu Feb 13 2020 Ruijun Ge <geruijun@huawei.com> - 1.1.0-5
- init package