Accepting request 1164499 from home:dancermak:branches:Base:System

Bump epoch to 1 and restore a sane version number

OBS-URL: https://build.opensuse.org/request/show/1164499
OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=156
This commit is contained in:
Danilo Spinella 2024-04-04 07:56:08 +00:00 committed by Git OBS Bridge
parent 194b789044
commit 3f14a8b2e3
2 changed files with 19 additions and 13 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 4 07:16:46 UTC 2024 - Dan Čermák <dcermak@suse.com>
- Bump epoch to 1 and restore a sane version number
-------------------------------------------------------------------
Thu Mar 28 13:51:05 UTC 2024 - Dirk Müller <dmueller@suse.com>

27
xz.spec
View File

@ -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 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/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: LempelZivMarkov 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