- restore a bigger version number so that update works

OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=154
This commit is contained in:
Dirk Mueller 2024-03-28 13:51:25 +00:00 committed by Git OBS Bridge
parent 7a1a7bcf1e
commit 82945a4232
2 changed files with 17 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 28 13:51:05 UTC 2024 - Dirk Müller <dmueller@suse.com>
- restore a bigger version number so that update works
-------------------------------------------------------------------
Mon Jan 29 21:36:02 UTC 2024 - Danilo Spinella <danilo.spinella@suse.com>

24
xz.spec
View File

@ -24,21 +24,21 @@
%endif
%define _binary_payload w9.bzdio
Name: xz
Version: 5.4.6
Version: 5.6.1.revertto5.4
Release: 0
Summary: A Program for Compressing Files with the LempelZivMarkov 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/v%{version}/xz-%{version}.tar.gz
Source1: https://github.com/tukaani-project/xz/releases/download/v%{version}/xz-%{version}.tar.gz.sig
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
Source2: baselibs.conf
Source3: https://tukaani.org/misc/jia_tan_pubkey.txt#/%{name}.keyring
Source4: xznew
Source5: xznew.1
BuildRequires: pkgconfig
Provides: lzma = %{version}
Obsoletes: lzma < %{version}
Provides: lzma = 5.4.6
Obsoletes: lzma < 5.4.6
%{?suse_build_hwcaps_libs}
%description
@ -68,11 +68,11 @@ Library for encoding/decoding LZMA files.
Summary: Development package for the LZMA library
License: 0BSD
Group: Development/Libraries/C and C++
Requires: liblzma5 = %{version}
Provides: lzma-devel = %{version}
Obsoletes: lzma-devel < %{version}
Provides: lzma-alpha-devel = %{version}
Obsoletes: lzma-alpha-devel < %{version}
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
%description devel
This package contains the header files and libraries needed for
@ -83,14 +83,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 = %{version}
Requires: lzma-devel = 5.4.6
%description static-devel
Static library for the LZMA library
%endif
%prep
%autosetup
%autosetup -n xz-5.4.6
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects