|
|
|
@ -3,42 +3,34 @@
|
|
|
|
|
|
|
|
|
|
Summary: LZMA compression utilities
|
|
|
|
|
Name: xz
|
|
|
|
|
# **PLEASE NOTE**: when bumping xz version, please rebuild
|
|
|
|
|
# perl-Compress-Raw-Lzma, it has a strict xz version dep
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 5.6.2
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
|
|
|
|
|
# liblzma - 0BSD
|
|
|
|
|
# xz{,dec}, lzma{dec,info} - 0BSD
|
|
|
|
|
# - getopt_long - LGPL-2.1-or-later - not built in Fedora
|
|
|
|
|
# xz{grep,diff,less,more} - GPL-2.0-or-later
|
|
|
|
|
# docs - BSD0 AND LicenseRef-Fedora-Public-Domain
|
|
|
|
|
# man pages and translations - 0BSD AND LicenseRef-Fedora-Public-Domain
|
|
|
|
|
# See: https://gitlab.com/fedora/legal/fedora-license-data/-/issues/547
|
|
|
|
|
License: 0BSD AND GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain
|
|
|
|
|
Version: 5.2.5
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
|
|
|
|
|
# Scripts xz{grep,diff,less,more} and symlinks (copied from gzip) are
|
|
|
|
|
# GPLv2+, binaries are Public Domain (linked against LGPL getopt_long but its
|
|
|
|
|
# OK), documentation is Public Domain.
|
|
|
|
|
License: GPLv2+ and Public Domain
|
|
|
|
|
# official upstream release
|
|
|
|
|
Source0: https://github.com/tukaani-project/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
Source1: https://github.com/tukaani-project/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz.sig
|
|
|
|
|
Source2: https://tukaani.org/misc/lasse_collin_pubkey.txt
|
|
|
|
|
Source0: https://tukaani.org/%{name}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
Source100: colorxzgrep.sh
|
|
|
|
|
Source101: colorxzgrep.csh
|
|
|
|
|
|
|
|
|
|
Patch1: xz-5.2.5-enable_CET.patch
|
|
|
|
|
Patch2: xz-5.2.5-cve-2022-1271.patch
|
|
|
|
|
|
|
|
|
|
URL: https://tukaani.org/%{name}/
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
# For /usr/libexec/grepconf.sh (RHBZ#1189120).
|
|
|
|
|
# Unfortunately F21 has a newer version of grep which doesn't
|
|
|
|
|
# have grepconf, but we're only concerned with F22 here.
|
|
|
|
|
Requires: grep >= 2.20-5
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: autoconf automake libtool gettext-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
XZ Utils are an attempt to make LZMA compression easy to use on free (as in
|
|
|
|
@ -53,7 +45,7 @@ decompression speed fast.
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
|
Summary: Libraries for decoding LZMA compression
|
|
|
|
|
License: 0BSD
|
|
|
|
|
License: Public Domain
|
|
|
|
|
Obsoletes: %{name}-compat-libs < %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
@ -62,7 +54,7 @@ Libraries for decoding files compressed with LZMA or XZ utils.
|
|
|
|
|
|
|
|
|
|
%package static
|
|
|
|
|
Summary: Statically linked library for decoding LZMA compression
|
|
|
|
|
License: 0BSD
|
|
|
|
|
License: Public Domain
|
|
|
|
|
|
|
|
|
|
%description static
|
|
|
|
|
Statically linked library for decoding files compressed with LZMA or
|
|
|
|
@ -71,8 +63,8 @@ XZ utils. Most users should *not* install this.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Devel libraries & headers for liblzma
|
|
|
|
|
License: 0BSD
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
|
License: Public Domain
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Devel libraries and headers for liblzma.
|
|
|
|
@ -80,9 +72,9 @@ Devel libraries and headers for liblzma.
|
|
|
|
|
|
|
|
|
|
%package lzma-compat
|
|
|
|
|
Summary: Older LZMA format compatibility binaries
|
|
|
|
|
# Just a set of symlinks to some files in the 'xz' package.
|
|
|
|
|
License: 0BSD AND GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain
|
|
|
|
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
|
# Just a set of symlinks to 'xz' + two Public Domain binaries.
|
|
|
|
|
License: Public Domain
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Obsoletes: lzma < %{version}
|
|
|
|
|
Provides: lzma = %{version}
|
|
|
|
|
|
|
|
|
@ -92,14 +84,16 @@ commands that deal with the older LZMA format.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
autoreconf -fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CFLAGS="%optflags"
|
|
|
|
|
|
|
|
|
|
%ifarch %{power64}
|
|
|
|
|
CFLAGS="$CFLAGS -O3"
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%ifarch %ix86
|
|
|
|
|
# rhbz#1630650, annocheck reports the following message because liblzma uses
|
|
|
|
|
# crc*_x86.S asm code on i686:
|
|
|
|
@ -137,12 +131,7 @@ LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
|
|
|
|
|
%exclude %_pkgdocdir/examples*
|
|
|
|
|
%{_bindir}/*xz*
|
|
|
|
|
%{_mandir}/man1/*xz*
|
|
|
|
|
%lang(de) %{_mandir}/de/man1/*xz*
|
|
|
|
|
%lang(fr) %{_mandir}/fr/man1/*xz*
|
|
|
|
|
%lang(ko) %{_mandir}/ko/man1/*xz*
|
|
|
|
|
%lang(ro) %{_mandir}/ro/man1/*xz*
|
|
|
|
|
%lang(uk) %{_mandir}/uk/man1/*xz*
|
|
|
|
|
%lang(pt_BR) %{_mandir}/pt_BR/man1/*xz*
|
|
|
|
|
%{_mandir}/de/man1/*xz*
|
|
|
|
|
%{profiledir}/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -168,87 +157,20 @@ LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
|
|
|
|
|
%files lzma-compat
|
|
|
|
|
%{_bindir}/*lz*
|
|
|
|
|
%{_mandir}/man1/*lz*
|
|
|
|
|
%lang(de) %{_mandir}/de/man1/*lz*
|
|
|
|
|
%lang(fr) %{_mandir}/fr/man1/*lz*
|
|
|
|
|
%lang(ko) %{_mandir}/ko/man1/*lz*
|
|
|
|
|
%lang(ro) %{_mandir}/ro/man1/*lz*
|
|
|
|
|
%lang(uk) %{_mandir}/uk/man1/*lz*
|
|
|
|
|
%lang(pt_BR) %{_mandir}/pt_BR/man1/*lz*
|
|
|
|
|
%{_mandir}/de/man1/*lz*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Aug 01 2024 Lukáš Zaoral <lzaoral@redhat.com> - 1:5.6.2-2
|
|
|
|
|
- finish SPDX license conversion (RHEL-46960)
|
|
|
|
|
|
|
|
|
|
* Tue Jul 16 2024 Jindrich Novy <jnovy@redhat.com>
|
|
|
|
|
- Update to https://github.com/tukaani-project/xz/releases/tag/v5.6.2
|
|
|
|
|
- Resolves: RHEL-43733
|
|
|
|
|
|
|
|
|
|
* Wed Jul 10 2024 Filip Janus <fjanus@redhat.com> - 5.4.6-3
|
|
|
|
|
- Build package with correct SPDX licence
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 5.4.6-2
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 29 2024 Richard W.M. Jones <rjones@redhat.com> - 5.4.6-1
|
|
|
|
|
- New version 5.4.6 (RHBZ#2260521)
|
|
|
|
|
- Fix Source URLs.
|
|
|
|
|
|
|
|
|
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Nov 01 2023 Richard W.M. Jones <rjones@redhat.com> - 5.4.5-1
|
|
|
|
|
- New version 5.4.5 (RHBZ#2247487)
|
|
|
|
|
|
|
|
|
|
* Thu Oct 19 2023 Debarshi Ray <rishi@fedoraproject.org> - 5.4.4-2
|
|
|
|
|
- Mark translations of manuals with %%lang()
|
|
|
|
|
|
|
|
|
|
* Wed Aug 02 2023 Richard W.M. Jones <rjones@redhat.com> - 5.4.4-1
|
|
|
|
|
- New version 5.4.4 (RHBZ#2228542)
|
|
|
|
|
|
|
|
|
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
* Tue May 31 2022 Matej Mužila <mmuzila@redhat.com> - 5.2.5-8
|
|
|
|
|
- Fix arbitrary file write vulnerability
|
|
|
|
|
Resolves: CVE-2022-1271
|
|
|
|
|
|
|
|
|
|
* Thu May 04 2023 Richard W.M. Jones <rjones@redhat.com> - 5.4.3-1
|
|
|
|
|
- Rebase to version 5.4.3 (RHBZ#2179570)
|
|
|
|
|
- Update the pubkey which appears to have changed.
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 5.2.5-7
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Mon Apr 17 2023 Matej Mužila <mmuzila@redhat.com> - 5.4.2-1
|
|
|
|
|
- Rebase to version 5.4.2 (#2179570)
|
|
|
|
|
|
|
|
|
|
* Mon Jan 23 2023 Richard W.M. Jones <rjones@redhat.com> - 5.4.1-1
|
|
|
|
|
- Rebase to version 5.4.1 (#2142405)
|
|
|
|
|
|
|
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.9-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Dec 01 2022 Richard W.M. Jones <rjones@redhat.com> - 5.2.9-1
|
|
|
|
|
- Rebase to version 5.2.9 (#2142405)
|
|
|
|
|
|
|
|
|
|
* Tue Nov 22 2022 Matej Mužila <mmuzila@redhat.com> - 5.2.8-1
|
|
|
|
|
- Rebase to version 5.2.8 (#2142405)
|
|
|
|
|
|
|
|
|
|
* Tue Aug 30 2022 Matej Mužila <mmuzila@redhat.com> - 5.2.7-1
|
|
|
|
|
- Rebase to version 5.2.7 (#2131313)
|
|
|
|
|
|
|
|
|
|
* Tue Aug 30 2022 Matej Mužila <mmuzila@redhat.com> - 5.2.6-1
|
|
|
|
|
- Rebase to version 5.2.6 (#2117931)
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.5-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Apr 16 2022 Todd Zullinger <tmz@pobox.com> - 5.2.5-9
|
|
|
|
|
- verify upstream GPG signature
|
|
|
|
|
- xzgrep: arbitrary-file-write vulnerability (#2073310, CVE-2022-1271)
|
|
|
|
|
|
|
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.5-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.5-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 12 2021 Michal Schorm <mschorm@redhat.com> - 5.2.5-6
|
|
|
|
|
- Remove the ancient PPC64 hack
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.2.5-6
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.5-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
@ -304,7 +226,6 @@ LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
|
|
|
|
|
- Cleanup spec
|
|
|
|
|
|
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.3-4
|
|
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.3-3
|
|
|
|
|