diff --git a/xz.changes b/xz.changes index 41cc3d6..23bd3e8 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 4 07:16:46 UTC 2024 - Dan Čermák + +- Bump epoch to 1 and restore a sane version number + ------------------------------------------------------------------- Thu Mar 28 13:51:05 UTC 2024 - Dirk Müller diff --git a/xz.spec b/xz.spec index 6330c41..0f43e7b 100644 --- a/xz.spec +++ b/xz.spec @@ -24,21 +24,22 @@ %endif %define _binary_payload w9.bzdio Name: xz -Version: 5.6.1.revertto5.4 +Version: 5.4.6 +Epoch: 1 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later Group: Productivity/Archiving/Compression URL: https://tukaani.org/xz/ -Source0: https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.gz -Source1: https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.gz.sig +Source0: https://github.com/tukaani-project/xz/releases/download/v%{version}/xz-%{version}.tar.gz +Source1: https://github.com/tukaani-project/xz/releases/download/v%{version}/xz-%{version}.tar.gz.sig Source2: baselibs.conf Source3: https://tukaani.org/misc/jia_tan_pubkey.txt#/%{name}.keyring Source4: xznew Source5: xznew.1 BuildRequires: pkgconfig -Provides: lzma = 5.4.6 -Obsoletes: lzma < 5.4.6 +Provides: lzma = %{version} +Obsoletes: lzma < %{version} %{?suse_build_hwcaps_libs} %description @@ -60,7 +61,7 @@ The xz command is a program for compressing files. Summary: Lempel–Ziv–Markov chain algorithm compression library License: 0BSD Group: System/Libraries -Provides: liblzma5 = 5.4.6 +Provides: liblzma5 = %{version} %description -n liblzma5 Library for encoding/decoding LZMA files. @@ -69,11 +70,11 @@ Library for encoding/decoding LZMA files. Summary: Development package for the LZMA library License: 0BSD Group: Development/Libraries/C and C++ -Requires: liblzma5 = 5.4.6 -Provides: lzma-devel = 5.4.6 -Obsoletes: lzma-devel < 5.4.6 -Provides: lzma-alpha-devel = 5.4.6 -Obsoletes: lzma-alpha-devel < 5.4.6 +Requires: liblzma5 = %{version} +Provides: lzma-devel = %{version} +Obsoletes: lzma-devel < %{version} +Provides: lzma-alpha-devel = %{version} +Obsoletes: lzma-alpha-devel < %{version} %description devel This package contains the header files and libraries needed for @@ -84,14 +85,14 @@ compiling programs using the LZMA library. Summary: Static version of LZMA library License: SUSE-Public-Domain Group: Development/Libraries/C and C++ -Requires: lzma-devel = 5.4.6 +Requires: lzma-devel = %{version} %description static-devel Static library for the LZMA library %endif %prep -%autosetup -n xz-5.4.6 +%autosetup %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects