2 Commits

4 changed files with 7 additions and 28 deletions

BIN
Brotli-1.1.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e310f77e41941c13340a95976fe66a8a95b01e783d430eeaf7a2f87e0a57dd0a
size 7388632

View File

@@ -1,21 +1,3 @@
-------------------------------------------------------------------
Tue Nov 11 13:31:41 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Run tests in %check section
- Update to 1.2.0 (bsc#1252945, CVE-2025-6176):
# SECURITY
- python: added `Decompressor::can_accept_more_data` method and optional
`output_buffer_limit` argument `Decompressor::process`;
that allows mitigation of unexpectedly large output;
reported by Charles Chan (https://github.com/charleswhchan)
# Added
- **decoder / encoder: added static initialization to reduce binary size**
- python: allow limiting decoder output (see SECURITY section)
# Improved
- python: modernize extension / allow multi-phase module initialization
# Changed
- decoder / encoder: static tables use "small" model (allows 2GiB+ binaries)
-------------------------------------------------------------------
Mon May 5 11:35:37 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Brotli
#
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-Brotli
Version: 1.2.0
Version: 1.1.0
Release: 0
Summary: Python bindings for the Brotli compression library
License: Apache-2.0
Group: Development/Languages/Python
URL: https://pypi.org/project/Brotli/
Source: https://files.pythonhosted.org/packages/source/b/brotli/brotli-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/B/Brotli/Brotli-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
@@ -43,7 +43,7 @@ with deflate but offers more dense compression.
The specification of the Brotli Compressed Data Format is defined in RFC 7932.
%prep
%setup -q -n brotli-%{version}
%setup -q -n Brotli-%{version}
%build
export CFLAGS="%{optflags}"
@@ -53,9 +53,6 @@ export CFLAGS="%{optflags}"
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%pyunittest_arch python/tests/*_test.py -v
%files %{python_files}
%doc README.md
%license LICENSE