Sync from SUSE:SLFO:Main python-httptools revision 36d5ded916bec7b50a01fa42535e5a49
This commit is contained in:
parent
66b0345306
commit
167bf4c26b
BIN
httptools-0.5.0.tar.gz
(Stored with Git LFS)
BIN
httptools-0.5.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
httptools-0.6.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
httptools-0.6.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,7 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 6 20:48:58 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.6.1:
|
||||||
|
* Explicit Python 3.12 support and build wheels, change min
|
||||||
|
version to 3.8
|
||||||
|
* Do not install the *.c sources in wheels
|
||||||
|
- update to 0.6.0 (bsc#1212582, CVE-2023-30589):
|
||||||
|
* Bump bundled llhttp to 8.1.1
|
||||||
|
* Fixes CVE-2023-30589
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Aug 13 19:15:04 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Sun Aug 13 19:15:04 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
- restrict to older Cython
|
- restrict to older Cython
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:26:23 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Apr 21 12:26:23 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
@ -16,7 +27,7 @@ Thu Apr 13 22:41:54 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 12 03:35:36 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Wed Oct 12 03:35:36 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
- Update to version 0.5.0
|
- Update to version 0.5.0
|
||||||
* Bump bundled llhttp to 6.0.9
|
* Bump bundled llhttp to 6.0.9
|
||||||
* fixes CVE-2022-32213, CVE-2022-32214, CVE-2022-32215
|
* fixes CVE-2022-32213, CVE-2022-32214, CVE-2022-32215
|
||||||
(by @nlsj1985 in 56d6a16 for #83)
|
(by @nlsj1985 in 56d6a16 for #83)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-httptools
|
# spec file for package python-httptools
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,11 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-httptools
|
Name: python-httptools
|
||||||
Version: 0.5.0
|
Version: 0.6.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python framework independent HTTP protocol utils
|
Summary: Python framework independent HTTP protocol utils
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -29,9 +27,12 @@ URL: https://github.com/MagicStack/httptools
|
|||||||
Source0: https://github.com/MagicStack/httptools/archive/v%{version}.tar.gz#/httptools-%{version}.tar.gz
|
Source0: https://github.com/MagicStack/httptools/archive/v%{version}.tar.gz#/httptools-%{version}.tar.gz
|
||||||
Source1: https://github.com/nodejs/llhttp/archive/refs/tags/release/v6.0.6.tar.gz#/llhttp-release-v6.0.6.tar.gz
|
Source1: https://github.com/nodejs/llhttp/archive/refs/tags/release/v6.0.6.tar.gz#/llhttp-release-v6.0.6.tar.gz
|
||||||
Source2: https://github.com/nodejs/http-parser/archive/refs/tags/v2.9.4.tar.gz#/http-parser-2.9.4.tar.gz
|
Source2: https://github.com/nodejs/http-parser/archive/refs/tags/v2.9.4.tar.gz#/http-parser-2.9.4.tar.gz
|
||||||
BuildRequires: %{python_module Cython >= 0.29.24 with %python-Cython < 3}
|
# BuildRequires: %{python_module Cython >= 0.29.24 with %python-Cython < 3}
|
||||||
|
BuildRequires: %{python_module Cython}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@ -49,13 +50,11 @@ tar -xzf '%{SOURCE2}' -C vendor
|
|||||||
mv vendor/http-parser*/ vendor/http-parser/
|
mv vendor/http-parser*/ vendor/http-parser/
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%{python_expand rm %{buildroot}%{$python_sitearch}/httptools/parser/*parser.c;
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
%fdupes %{buildroot}%{$python_sitearch}
|
|
||||||
}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if 0%{suse_version} >= 1550
|
%if 0%{suse_version} >= 1550
|
||||||
@ -67,6 +66,6 @@ mv vendor/http-parser*/ vendor/http-parser/
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitearch}/httptools
|
%{python_sitearch}/httptools
|
||||||
%{python_sitearch}/httptools-%{version}*-info
|
%{python_sitearch}/httptools-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user