Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lzma-sdk for openSUSE:Factory checked in at 2024-05-01 14:57:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lzma-sdk (Old) and /work/SRC/openSUSE:Factory/.lzma-sdk.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lzma-sdk" Wed May 1 14:57:49 2024 rev:15 rq:1171117 version:23.01 Changes: -------- --- /work/SRC/openSUSE:Factory/lzma-sdk/lzma-sdk.changes 2023-03-15 18:56:43.489091005 +0100 +++ /work/SRC/openSUSE:Factory/.lzma-sdk.new.1880/lzma-sdk.changes 2024-05-01 14:58:18.997967012 +0200 @@ -1,0 +2,8 @@ +Tue Apr 30 10:42:48 UTC 2024 - Jan Engelhardt <jeng...@inai.de> + +- Update to release 23.01 + * New filter for ARM64 executables. BCJ2 filter was improved + for better compression ratio. Some bugs were fixed. +- Add lzma-simd.patch to fix compiler error on old gcc + +------------------------------------------------------------------- Old: ---- lzma2201.7z New: ---- lzma-simd.patch lzma2301.7z BETA DEBUG BEGIN: New: for better compression ratio. Some bugs were fixed. - Add lzma-simd.patch to fix compiler error on old gcc BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lzma-sdk.spec ++++++ --- /var/tmp/diff_new_pack.2aTJPm/_old 2024-05-01 14:58:19.521986025 +0200 +++ /var/tmp/diff_new_pack.2aTJPm/_new 2024-05-01 14:58:19.525986170 +0200 @@ -1,7 +1,7 @@ # # spec file for package lzma-sdk # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,21 +16,22 @@ # -%define _sver 2201 -%define _maver 22 +%define _sver 2301 +%define _maver 23 %define _miver 01 Name: lzma-sdk -Version: 22.01 +Version: 23.01 Release: 0 Summary: An implementation of LZMA compression # Actually the site says "Public Domain". See license file. License: LGPL-2.1-only Group: Productivity/Archiving/Compression URL: https://www.7-zip.org/sdk.html -Source0: https://www.7-zip.org/a/lzma%{_sver}.7z +Source0: https://www.7-zip.org/a/lzma%_sver.7z Source1: lzma-sdk-LICENSE.fedora Source2: baselibs.conf Patch1: lzma-sdk-shlib.patch +Patch2: lzma-simd.patch BuildRequires: automake BuildRequires: dos2unix BuildRequires: fdupes @@ -52,49 +53,47 @@ zlib's speed, and around 40%% when trading more time. %package devel -Summary: Development libraries and headers for %{name} +Summary: Development libraries and headers for %name Group: Development/Languages/C and C++ -Requires: libclzma-suse0 = %{version} +Requires: libclzma-suse1 = %version %description devel -This package contains development libraries and headers for %{name}. +This package contains development libraries and headers for %name. -%package -n libclzma-suse0 +%package -n libclzma-suse1 Summary: LZMA stream encoding/decoding library from 7-Zip Group: System/Libraries -%description -n libclzma-suse0 +%description -n libclzma-suse1 Library for encoding/decoding LZMA streams, using the 7-Zip library implementation. %prep -%setup -q -c -n lzma%{_sver} -%patch -P 1 -p1 +%autosetup -c -n lzma%_sver -p1 perl -i -pe 's{AC_INIT.*}{AC_INIT([lzma-sdk], [%version])}' configure.ac dos2unix DOC/*.txt -install -p -m 0644 %{SOURCE1} . +install -p -m 0644 %SOURCE1 . %build autoreconf -fi %configure -make %{?_smp_mflags} +%make_build %install %make_install rm -f "%buildroot/%_libdir"/*.la -%post -n libclzma-suse0 -p /sbin/ldconfig -%postun -n libclzma-suse0 -p /sbin/ldconfig +%ldconfig_scriptlets -n libclzma-suse1 -%files -n libclzma-suse0 +%files -n libclzma-suse1 %license lzma-sdk-LICENSE.fedora %doc DOC/lzma.txt DOC/lzma-history.txt -%{_libdir}/libclzma-suse.so.0* +%_libdir/libclzma-suse.so.* %files devel %license lzma-sdk-LICENSE.fedora %doc DOC/7z*.txt DOC/Methods.txt -%{_includedir}/clzma/ -%{_libdir}/libclzma.so -%{_libdir}/pkgconfig/clzma.pc +%_includedir/clzma/ +%_libdir/libclzma.so +%_libdir/pkgconfig/clzma.pc ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.2aTJPm/_old 2024-05-01 14:58:19.561987476 +0200 +++ /var/tmp/diff_new_pack.2aTJPm/_new 2024-05-01 14:58:19.561987476 +0200 @@ -1,2 +1,2 @@ -libclzma-suse0 +libclzma-suse1 ++++++ lzma-sdk-shlib.patch ++++++ --- /var/tmp/diff_new_pack.2aTJPm/_old 2024-05-01 14:58:19.589988493 +0200 +++ /var/tmp/diff_new_pack.2aTJPm/_new 2024-05-01 14:58:19.589988493 +0200 @@ -21,9 +21,9 @@ +pkgconfigdir = ${libdir}/pkgconfig +pkgconfig_DATA = clzma.pc +# source list: C/Util/LzmaLib/makefile -+libclzma_la_SOURCES = C/7zAlloc.c C/7zArcIn.c C/7zBuf2.c C/7zBuf.c C/7zCrc.c C/7zCrcOpt.c C/7zDec.c C/7zFile.c C/7zStream.c C/7zVersion.rc C/Aes.c C/AesOpt.c C/Alloc.c C/Bcj2.c C/Bra86.c C/Bra.c C/BraIA64.c C/CpuArch.c C/Delta.c C/DllSecur.c C/LzFind.c C/Lzma2Dec.c C/Lzma2Enc.c C/Lzma86Dec.c C/Lzma86Enc.c C/LzmaDec.c C/LzmaEnc.c C/LzmaLib.c C/Ppmd7.c C/Ppmd7Dec.c C/Ppmd7Enc.c C/Sha256.c C/Sha256Opt.c C/Sort.c C/Xz.c C/XzCrc64.c C/XzCrc64Opt.c C/XzDec.c C/XzEnc.c C/XzIn.c -+#ifWIN32#SOURCES += C/Bcj2Enc.c C/LzFindMt.c C/MtCoder.c C/Threads.c -+libclzma_la_LDFLAGS = -release suse -version-info 0:0:0 ++#lzma.dll = C/Alloc.c C/CpuArch.c C/LzFind.c C/LzFindMt.c C/LzFindOpt.c C/LzmaDec.c C/LzmaEnc.c C/LzmaLib.c C/Threads.c ++libclzma_la_SOURCES = C/7zAlloc.c C/7zArcIn.c C/7zBuf.c C/7zBuf2.c C/7zCrc.c C/7zCrcOpt.c C/7zDec.c C/7zFile.c C/7zStream.c C/Aes.c C/AesOpt.c C/Alloc.c C/Bcj2.c C/Bcj2Enc.c C/Bra.c C/Bra86.c C/BraIA64.c C/CpuArch.c C/Delta.c C/DllSecur.c C/LzFind.c C/LzFindMt.c C/LzFindOpt.c C/Lzma2Dec.c C/Lzma2DecMt.c C/Lzma2Enc.c C/Lzma86Dec.c C/Lzma86Enc.c C/LzmaDec.c C/LzmaEnc.c C/LzmaLib.c C/MtCoder.c C/MtDec.c C/Ppmd7.c C/Ppmd7Dec.c C/Ppmd7Enc.c C/Sha256.c C/Sha256Opt.c C/Sort.c C/SwapBytes.c C/Threads.c C/Xz.c C/XzCrc64.c C/XzCrc64Opt.c C/XzDec.c C/XzEnc.c C/XzIn.c ++libclzma_la_LDFLAGS = -release suse -version-info 1:0:0 +clzmadir = ${includedir}/clzma +clzma_HEADERS = C/7zAlloc.h C/7zBuf.h C/7zCrc.h C/7zFile.h C/7z.h C/7zTypes.h C/7zVersion.h C/Aes.h C/Alloc.h C/Bcj2.h C/Bra.h C/Compiler.h C/CpuArch.h C/Delta.h C/DllSecur.h C/LzFind.h C/LzFindMt.h C/LzHash.h C/Lzma2Dec.h C/Lzma2Enc.h C/Lzma86.h C/LzmaDec.h C/LzmaEnc.h C/LzmaLib.h C/MtCoder.h C/Ppmd7.h C/Ppmd.h C/Precomp.h C/RotateDefs.h C/Sha256.h C/Sort.h C/Threads.h C/XzCrc64.h C/XzEnc.h C/Xz.h +clzma.pc: ${top_builddir}/config.status ++++++ lzma-simd.patch ++++++ From: Jan Engelhardt <jeng...@inai.de> Date: 2024-05-01 00:14:04.625759204 +0200 Fix build failures involving SIMD code Fix build failure on Leap 15.6/gcc-7 amd64: [ 31s] C/SwapBytes.c:312:7: error: incompatible types when initializing type '__m256i {aka const __vector(4) long long int}' using type 'int' --- C/SwapBytes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: 23/C/SwapBytes.c =================================================================== --- a/C/SwapBytes.c +++ b/C/SwapBytes.c @@ -22,7 +22,7 @@ typedef UInt32 CSwapUInt32; // #if defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1900) #if defined(__clang__) && (__clang_major__ >= 4) \ || defined(Z7_GCC_VERSION) && (Z7_GCC_VERSION >= 40701) - #define k_SwapBytes_Mode_MAX k_SwapBytes_Mode_AVX2 + #define k_SwapBytes_Mode_MAX k_SwapBytes_Mode_SSE2 #define SWAP_ATTRIB_SSE2 __attribute__((__target__("sse2"))) #define SWAP_ATTRIB_SSSE3 __attribute__((__target__("ssse3"))) #define SWAP_ATTRIB_AVX2 __attribute__((__target__("avx2")))