|
|
|
|
@ -1,15 +1,19 @@
|
|
|
|
|
%global _vpath_srcdir contrib/meson
|
|
|
|
|
|
|
|
|
|
Name: lz4
|
|
|
|
|
Version: 1.8.3
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 1.9.4
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Summary: Extremely fast compression algorithm
|
|
|
|
|
|
|
|
|
|
License: GPLv2+ and BSD
|
|
|
|
|
License: GPL-2.0-or-later AND BSD-2-Clause
|
|
|
|
|
URL: https://lz4.github.io/lz4/
|
|
|
|
|
Source0: https://github.com/Cyan4973/lz4/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
Source0: https://github.com/lz4/lz4/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Obsoletes: %{name} < 1.7.5-3
|
|
|
|
|
|
|
|
|
|
Patch1: lz4-cve-2021-3520.patch
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: meson >= 0.43
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
LZ4 is an extremely fast loss-less compression algorithm, providing compression
|
|
|
|
|
@ -40,20 +44,17 @@ LZ4 is an extremely fast loss-less compression algorithm. This package
|
|
|
|
|
contains static libraries for static linking of applications.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
echo '#!/bin/sh' > ./configure
|
|
|
|
|
chmod +x ./configure
|
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure
|
|
|
|
|
%make_build
|
|
|
|
|
%meson \
|
|
|
|
|
-Dprograms=true \
|
|
|
|
|
-Ddefault_library=both \
|
|
|
|
|
%{nil}
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%configure
|
|
|
|
|
# Someone thinks that plain Makefiles are good for bigger projects than hello world..
|
|
|
|
|
%make_install LIBDIR=%{_libdir} PREFIX=%{_prefix}
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license programs/COPYING
|
|
|
|
|
@ -81,17 +82,69 @@ chmod +x ./configure
|
|
|
|
|
%{_libdir}/liblz4.a
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri May 07 2021 Jakub Martisko <jamartis@redhat.com> - 1.8.3-3
|
|
|
|
|
- Fix memory corruption due to an integer overflow
|
|
|
|
|
_ Resolves: CVE-2021-3520
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.9.4-8
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Tue May 26 2020 Jakub Martisko <jamartis@redhat.com> - 1.8.3-2
|
|
|
|
|
- Rebuilding with the new gating tests
|
|
|
|
|
- Related: 1840046
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.9.4-7
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Apr 06 2020 Jakub Martisko <jamartis@redhat.com> - 1.8.3-1
|
|
|
|
|
- Rebase to 1.8.3
|
|
|
|
|
- Resolves: #1821237
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.4-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.4-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.4-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Apr 13 2023 Lukáš Zaoral <lzaoral@redhat.com> - 1.9.4-3
|
|
|
|
|
- migrate to SPDX license format
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Aug 17 2022 Timothée Ravier <tim@siosm.fr> - 1.9.4-1
|
|
|
|
|
- Update to 1.9.4 (fedora#2118499)
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.3-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.3-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 06 2021 Timothée Ravier <travier@redhat.com> - 1.9.3-1
|
|
|
|
|
- Update to 1.9.3 and switch to Meson
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Aug 14 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.9.1-1
|
|
|
|
|
- Update to 1.9.1
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Oct 29 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.8.3-1
|
|
|
|
|
- Update to latest version
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat May 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.2-1
|
|
|
|
|
- Update to 1.8.2
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.1.2-4
|
|
|
|
|
- Escape macros in %%changelog
|