Accepting request 1167536 from Base:System
- revert the switch to tar_scm which dropped the signature validation - switch back to tarballs because the upstream tarballs are not gone - reinstanciate keyring from Lasse - go back to the last release signed by Lasse (5.4.2) - revert multibuild, drop service and rpmlintrc - use real_ver for the Source, move everything else back to %version like before the hectic XZ downgrade - remove payload setting, we are using zstd now - Switch to using tar_scm for fetching the sources as the upstream tarballs on github are gone - introduce _multibuild to allow building the translations outside of Ring0 and everything else in Ring0 - add rpmlintrc to silence harmless warnings OBS-URL: https://build.opensuse.org/request/show/1167536 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=90
This commit is contained in:
commit
96280f2da6
3
xz-5.4.2.tar.gz
Normal file
3
xz-5.4.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:87947679abcf77cc509d8d1b474218fd16b72281e2797360e909deaee1ac9d05
|
||||||
|
size 2799022
|
BIN
xz-5.4.2.tar.gz.sig
Normal file
BIN
xz-5.4.2.tar.gz.sig
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:aeba3e03bf8140ddedf62a0a367158340520f6b384f75ca6045ccc6c0d43fd5c
|
|
||||||
size 2889306
|
|
Binary file not shown.
23
xz.changes
23
xz.changes
@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 12 16:22:12 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- revert the switch to tar_scm which dropped the signature
|
||||||
|
validation
|
||||||
|
- switch back to tarballs because the upstream tarballs are not
|
||||||
|
gone
|
||||||
|
- reinstanciate keyring from Lasse
|
||||||
|
- go back to the last release signed by Lasse (5.4.2)
|
||||||
|
- revert multibuild, drop service and rpmlintrc
|
||||||
|
- use real_ver for the Source, move everything else back to
|
||||||
|
%version like before the hectic XZ downgrade
|
||||||
|
- remove payload setting, we are using zstd now
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 4 07:16:46 UTC 2024 - Dan Čermák <dcermak@suse.com>
|
||||||
|
|
||||||
|
- Switch to using tar_scm for fetching the sources as the upstream
|
||||||
|
tarballs on github are gone
|
||||||
|
- introduce _multibuild to allow building the translations outside
|
||||||
|
of Ring0 and everything else in Ring0
|
||||||
|
- add rpmlintrc to silence harmless warnings
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 28 13:51:05 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Thu Mar 28 13:51:05 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
98
xz.keyring
98
xz.keyring
@ -1,52 +1,52 @@
|
|||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
mQINBGOsX3EBEADZxyfiZVg7aub+JoBG+sPChHUwbJc+SH7BWOPbu4HLNfk6ZUzi
|
mQINBEzEOZIBEACxg/IuXERlDB48JBWmF4NxNUuuup1IhJAJyFGFSKh3OGAO2Ard
|
||||||
/JSBYIGIIrqGkA60Pu1CbplkVF4UG0YBAAE/j11puWMHrydxTY9Hoc/rYOBq+0AE
|
sNuRLjANsFXA7m7P5eTFcG+BoHHuAVYmKnI3PPZtHVLnUt4pGItPczQZ2BE1WpcI
|
||||||
mWnG0VINjpF3dNGlrmlikORzpW/FAHy8B1nD8P7vulPooc9FgkOmFM8nAP24TURU
|
ayjGTBJeKItX3Npqg9D/odO9WWS1i3FQPVdrLn0YH37/BA66jeMQCRo7g7GLpaNf
|
||||||
h8G8cGY0jqpVxTiQqAi9KPxTlnY5s7hhgW0Nd3mIF4QSoPofMPnV5DTYS1LJw6XB
|
IrvYGsqTbxCwsmA37rpE7oyU4Yrf74HT091WBsRIoq/MelhbxTDMR8eu/dUGZQVc
|
||||||
9K3DR4bsD7YYF2TdYGvlk/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XLN/XbIFNcQ3m4d3W6t60Gk09wFlUKaEltDMlPUsxiSG3qFwFGPBP6UV
|
||||||
M67tSMKVaKFA6myewHDrteBDyZVt4IH8clejhs6cwWOf9DOcbPQO1C94vMc+Glah
|
h3mjJMAl1jltLrR7ybez0SczfrcAtdCsKTvgzV9W2TzUfK2R9PBanmXTXK2M7yU3
|
||||||
oCL0FGS1mU/CumiNB1zCP0o29IUXQvLk/mM8w/zL65sfilbfm7kLk1l8UOy/pUxk
|
IquHt3Je4aSP7XYb5D+ajlbFNvnXOYcai8WryfC5nLAfV4MbPX+UlRaYCqqHVhut
|
||||||
4U9Kpv79Z7aIUwSZVXkkfQuHlmGCm0y6QKLTaZQL68uDXrMpWO2O2B+tOCJibGFz
|
gK93re1L5mMI3zjG5Ri5jLpUA9toSJCIJIY5zwr/8LL/ZL4TixXlouA17yjkpY/e
|
||||||
ecPedd7w77GKqjMHXcVX3Hd2wnZAMTwIJsjHG4qO/LfA8jze5+Ohd3qzilP7ziwm
|
Bjs8cNj1O3aM4jY2FKCS8UbfxOiARk/5kBMRPEZ/mqpMQttzE8KVjOv6fRxy/eVE
|
||||||
aK5MKg==
|
888/gToe5kb8qYwy
|
||||||
=d3XT
|
=6rZC
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
-----END PGP PUBLIC KEY BLOCK-----
|
||||||
|
50
xz.spec
50
xz.spec
@ -22,7 +22,9 @@
|
|||||||
%else
|
%else
|
||||||
%bcond_with static
|
%bcond_with static
|
||||||
%endif
|
%endif
|
||||||
%define _binary_payload w9.bzdio
|
|
||||||
|
%global real_ver 5.4.2
|
||||||
|
|
||||||
Name: xz
|
Name: xz
|
||||||
Version: 5.6.1.revertto5.4
|
Version: 5.6.1.revertto5.4
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -30,15 +32,15 @@ Summary: A Program for Compressing Files with the Lempel–Ziv–Markov a
|
|||||||
License: 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later
|
License: 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later
|
||||||
Group: Productivity/Archiving/Compression
|
Group: Productivity/Archiving/Compression
|
||||||
URL: https://tukaani.org/xz/
|
URL: https://tukaani.org/xz/
|
||||||
Source0: https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.gz
|
Source0: https://github.com/tukaani-project/xz/releases/download/v%{real_ver}/xz-%{real_ver}.tar.gz
|
||||||
Source1: https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.gz.sig
|
Source1: https://github.com/tukaani-project/xz/releases/download/v%{real_ver}/xz-%{real_ver}.tar.gz.sig
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Source3: https://tukaani.org/misc/jia_tan_pubkey.txt#/%{name}.keyring
|
Source3: https://tukaani.org/misc/lasse_collin_pubkey.txt#/xz.keyring
|
||||||
Source4: xznew
|
Source4: xznew
|
||||||
Source5: xznew.1
|
Source5: xznew.1
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
Provides: lzma = 5.4.6
|
Provides: lzma = %{version}
|
||||||
Obsoletes: lzma < 5.4.6
|
Obsoletes: lzma < %{version}
|
||||||
%{?suse_build_hwcaps_libs}
|
%{?suse_build_hwcaps_libs}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -54,13 +56,13 @@ The xz command is a program for compressing files.
|
|||||||
decompressing speed.
|
decompressing speed.
|
||||||
* Very similar command line interface to what gzip and bzip2 have.
|
* Very similar command line interface to what gzip and bzip2 have.
|
||||||
|
|
||||||
|
|
||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
%package -n liblzma5
|
%package -n liblzma5
|
||||||
Summary: Lempel–Ziv–Markov chain algorithm compression library
|
Summary: Lempel–Ziv–Markov chain algorithm compression library
|
||||||
License: 0BSD
|
License: 0BSD
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: liblzma5 = 5.4.6
|
|
||||||
|
|
||||||
%description -n liblzma5
|
%description -n liblzma5
|
||||||
Library for encoding/decoding LZMA files.
|
Library for encoding/decoding LZMA files.
|
||||||
@ -69,11 +71,11 @@ Library for encoding/decoding LZMA files.
|
|||||||
Summary: Development package for the LZMA library
|
Summary: Development package for the LZMA library
|
||||||
License: 0BSD
|
License: 0BSD
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: liblzma5 = 5.4.6
|
Requires: liblzma5 = %{version}
|
||||||
Provides: lzma-devel = 5.4.6
|
Provides: lzma-devel = %{version}
|
||||||
Obsoletes: lzma-devel < 5.4.6
|
Obsoletes: lzma-devel < %{version}
|
||||||
Provides: lzma-alpha-devel = 5.4.6
|
Provides: lzma-alpha-devel = %{version}
|
||||||
Obsoletes: lzma-alpha-devel < 5.4.6
|
Obsoletes: lzma-alpha-devel < %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains the header files and libraries needed for
|
This package contains the header files and libraries needed for
|
||||||
@ -84,25 +86,27 @@ compiling programs using the LZMA library.
|
|||||||
Summary: Static version of LZMA library
|
Summary: Static version of LZMA library
|
||||||
License: SUSE-Public-Domain
|
License: SUSE-Public-Domain
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: lzma-devel = 5.4.6
|
Requires: xz-devel = %{version}
|
||||||
|
|
||||||
%description static-devel
|
%description static-devel
|
||||||
Static library for the LZMA library
|
Static library for the LZMA library
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n xz-5.4.6
|
%autosetup -n xz-%{real_ver}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
export CFLAGS="%{optflags} -D_REENTRANT -pipe -fPIE"
|
export CFLAGS="%{optflags} -D_REENTRANT -pipe -fPIE"
|
||||||
export LDFLAGS="-Wl,-z,relro,-z,now -pie"
|
export LDFLAGS="-Wl,-z,relro,-z,now -pie"
|
||||||
|
|
||||||
# Either we build it without pic enabled, or we build one at a time
|
# Either we build it without pic enabled, or we build one at a time
|
||||||
%if %{with static}
|
%if %{with static}
|
||||||
%configure \
|
%configure \
|
||||||
--with-pic \
|
--with-pic \
|
||||||
--docdir=%{_docdir}/%{name} \
|
--docdir=%{_docdir}/%{name} \
|
||||||
--disable-shared CONFIG_SHELL=/bin/sh
|
--disable-shared CONFIG_SHELL=/bin/sh
|
||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
cp ./src/liblzma/.libs/liblzma.a liblzma.a
|
cp ./src/liblzma/.libs/liblzma.a liblzma.a
|
||||||
%endif
|
%endif
|
||||||
@ -136,15 +140,6 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2}
|
|||||||
%post -n liblzma5 -p /sbin/ldconfig
|
%post -n liblzma5 -p /sbin/ldconfig
|
||||||
%postun -n liblzma5 -p /sbin/ldconfig
|
%postun -n liblzma5 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
|
||||||
%dir %{_mandir}/fr
|
|
||||||
%dir %{_mandir}/de
|
|
||||||
%dir %{_mandir}/ko
|
|
||||||
%if 0%{?suse_version} == 1500
|
|
||||||
%dir %{_mandir}/ro
|
|
||||||
%dir %{_mandir}/uk
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING COPYING.GPLv2
|
%license COPYING COPYING.GPLv2
|
||||||
%{_docdir}/%{name}
|
%{_docdir}/%{name}
|
||||||
@ -197,6 +192,15 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2}
|
|||||||
%{_mandir}/man1/xzmore.1%{?ext_man}
|
%{_mandir}/man1/xzmore.1%{?ext_man}
|
||||||
%{_mandir}/man1/xznew.1%{?ext_man}
|
%{_mandir}/man1/xznew.1%{?ext_man}
|
||||||
|
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
%dir %{_mandir}/fr
|
||||||
|
%dir %{_mandir}/de
|
||||||
|
%dir %{_mandir}/ko
|
||||||
|
%if 0%{?suse_version} == 1500
|
||||||
|
%dir %{_mandir}/ro
|
||||||
|
%dir %{_mandir}/uk
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n liblzma5
|
%files -n liblzma5
|
||||||
%{_libdir}/liblzma.so.5*
|
%{_libdir}/liblzma.so.5*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user