forked from pool/python-httptools
- 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
- restrict to older Cython
- Update to version 0.5.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httptools?expand=0&rev=12
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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}
|
||||
Name: python-httptools
|
||||
Version: 0.5.0
|
||||
Version: 0.6.1
|
||||
Release: 0
|
||||
Summary: Python framework independent HTTP protocol utils
|
||||
License: MIT
|
||||
@@ -53,9 +51,7 @@ mv vendor/http-parser*/ vendor/http-parser/
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%{python_expand rm %{buildroot}%{$python_sitearch}/httptools/parser/*parser.c;
|
||||
%fdupes %{buildroot}%{$python_sitearch}
|
||||
}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
%if 0%{suse_version} >= 1550
|
||||
|
||||
Reference in New Issue
Block a user