import brotli-1.0.6-3.el8

This commit is contained in:
CentOS Sources 2021-01-12 06:11:03 +00:00 committed by Andrew Lukoshko
parent 80f66d36ce
commit 54c1369ed0
2 changed files with 2160 additions and 2 deletions

2152
SOURCES/rhbz1881156.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -7,13 +7,15 @@
Name: brotli
Version: 1.0.6
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Lossless compression algorithm
License: MIT
URL: https://github.com/google/brotli
Source0: https://github.com/google/brotli/archive/v%{version}.tar.gz
Patch1: rhbz1881156.patch
%if %{with python2}
BuildRequires: python2-devel
%endif
@ -69,13 +71,14 @@ It is similar in speed with deflate but offers more dense compression.
This package installs the development files
%prep
%autosetup
%autosetup -p1 -S git
# fix permissions for -debuginfo
# rpmlint will complain if I create an extra %%files section for
# -debuginfo for this so we'll put it here instead
%{__chmod} 644 c/enc/*.[ch]
%{__chmod} 644 c/include/brotli/*.h
%{__chmod} 644 c/tools/brotli.c
%build
mkdir -p build
@ -148,6 +151,9 @@ cd ..
%changelog
* Thu Oct 01 2020 Eike Rathke <erack@redhat.com> - 1.0.6-3
- Resolves: CVE-2020-8927
* Wed Jun 17 2020 Eike Rathke <erack@redhat.com> - 1.0.6-2
- Resolves: rhbz#1737412 bump NRV for build to compose