Compare commits

1 Commits
main ... 1.1

4 changed files with 16 additions and 26 deletions

BIN
httptools-0.5.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
httptools-0.6.1.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,18 +1,7 @@
-------------------------------------------------------------------
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>
- restrict to older Cython
- restrict to older Cython
-------------------------------------------------------------------
Fri Apr 21 12:26:23 UTC 2023 - Dirk Müller <dmueller@suse.com>
@@ -27,7 +16,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>
- Update to version 0.5.0
- Update to version 0.5.0
* Bump bundled llhttp to 6.0.9
* fixes CVE-2022-32213, CVE-2022-32214, CVE-2022-32215
(by @nlsj1985 in 56d6a16 for #83)

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-httptools
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,11 @@
#
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-httptools
Version: 0.6.1
Version: 0.5.0
Release: 0
Summary: Python framework independent HTTP protocol utils
License: MIT
@@ -27,12 +29,9 @@ URL: https://github.com/MagicStack/httptools
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
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}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module Cython >= 0.29.24 with %python-Cython < 3}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%python_subpackages
@@ -50,11 +49,13 @@ tar -xzf '%{SOURCE2}' -C vendor
mv vendor/http-parser*/ vendor/http-parser/
%build
%pyproject_wheel
%python_build
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%python_install
%{python_expand rm %{buildroot}%{$python_sitearch}/httptools/parser/*parser.c;
%fdupes %{buildroot}%{$python_sitearch}
}
%check
%if 0%{suse_version} >= 1550
@@ -66,6 +67,6 @@ mv vendor/http-parser*/ vendor/http-parser/
%doc README.md
%license LICENSE
%{python_sitearch}/httptools
%{python_sitearch}/httptools-%{version}.dist-info
%{python_sitearch}/httptools-%{version}*-info
%changelog