Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 1f3289a200 | |||
| ffa9323e5a | |||
| f517626eff | |||
| 56a7486ed3 |
BIN
Brotli-1.1.0.tar.gz
LFS
BIN
Brotli-1.1.0.tar.gz
LFS
Binary file not shown.
3
brotli-1.2.0.tar.gz
Normal file
3
brotli-1.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e310f77e41941c13340a95976fe66a8a95b01e783d430eeaf7a2f87e0a57dd0a
|
||||||
|
size 7388632
|
||||||
@@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 11 21:06:08 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Mon Sep 11 21:06:08 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-Brotli
|
# spec file for package python-Brotli
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -18,14 +18,15 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-Brotli
|
Name: python-Brotli
|
||||||
Version: 1.1.0
|
Version: 1.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python bindings for the Brotli compression library
|
Summary: Python bindings for the Brotli compression library
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://pypi.org/project/Brotli/
|
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 devel}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: c++_compiler
|
BuildRequires: c++_compiler
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -42,19 +43,25 @@ with deflate but offers more dense compression.
|
|||||||
The specification of the Brotli Compressed Data Format is defined in RFC 7932.
|
The specification of the Brotli Compressed Data Format is defined in RFC 7932.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Brotli-%{version}
|
%setup -q -n brotli-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pyunittest_arch python/tests/*_test.py -v
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/brotli.py
|
||||||
|
%{python_sitearch}/_brotli*
|
||||||
|
%pycache_only %{python_sitearch}/__pycache__/brotli*
|
||||||
|
%{python_sitearch}/[Bb]rotli-%{version}*info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user