From 95a5bb4d783bd526ee1a9a89973876c8b371f9a63f9f724353c3df9adea9ff96 Mon Sep 17 00:00:00 2001 From: Bernhard Wiedemann Date: Tue, 11 May 2021 18:29:41 +0000 Subject: [PATCH 1/8] Add zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch to fix crashes when running armv6 userspace on armv8 64-bit kernels OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=60 --- zstd.changes | 6 ++++++ zstd.spec | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/zstd.changes b/zstd.changes index 1820c5f..288c2da 100644 --- a/zstd.changes +++ b/zstd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 11 18:28:45 UTC 2021 - Bernhard Wiedemann + +- Add zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch + to fix crashes when running armv6 userspace on armv8 64-bit kernels + ------------------------------------------------------------------- Thu Mar 4 01:36:14 UTC 2021 - Bernhard Wiedemann diff --git a/zstd.spec b/zstd.spec index 2d2cbe3..e02c50f 100644 --- a/zstd.spec +++ b/zstd.spec @@ -28,6 +28,8 @@ URL: https://github.com/facebook/zstd Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source99: baselibs.conf Patch1: pzstd.1.patch +# PATCH-FIX-UPSTREAM https://github.com/facebook/zstd/pull/2633 +Patch2: zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch BuildRequires: gcc # C++ is needed for pzstd only BuildRequires: gcc-c++ @@ -82,8 +84,7 @@ targeting faster compression than zlib at comparable ratios. Needed for compiling programs that link with the library. %prep -%setup -q -%patch1 -p1 +%autosetup -p1 %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects From f9691d0b473d352e318e7668964364a4dc96a28939c29b31e40ab4ac3f3388d8 Mon Sep 17 00:00:00 2001 From: Bernhard Wiedemann Date: Tue, 11 May 2021 18:30:30 +0000 Subject: [PATCH 2/8] add missing patch OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=61 --- zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch | 51 ++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch diff --git a/zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch b/zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch new file mode 100644 index 0000000..4fa38e9 --- /dev/null +++ b/zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch @@ -0,0 +1,51 @@ +https://github.com/facebook/zstd/pull/2633 + +From 28d0120b5ac62b56cd858bd46480c73730d044b4 Mon Sep 17 00:00:00 2001 +From: "Bernhard M. Wiedemann" +Date: Tue, 11 May 2021 17:46:55 +0200 +Subject: [PATCH] Avoid SIGBUS on armv6 + +When running armv6 userspace on armv8 hardware with a 64 bit Linux kernel, +the mode 2 caused SIGBUS (unaligned memory access). +Running all our arm builds in the build farm +only on armv8 simplifies administration a lot. + +Depending on compiler and environment, this change might slow down +memory accesses (did not benchmark it). The original analysis is 6 years old. + +Fixes #2632 +--- + lib/common/mem.h | 4 +--- + lib/common/xxhash.c | 4 +--- + 2 files changed, 2 insertions(+), 6 deletions(-) + +diff --git a/lib/common/mem.h b/lib/common/mem.h +index dc6667c68b..9f3b81ab9d 100644 +--- a/lib/common/mem.h ++++ b/lib/common/mem.h +@@ -143,9 +143,7 @@ MEM_STATIC size_t MEM_swapST(size_t in); + * Prefer these methods in priority order (0 > 1 > 2) + */ + #ifndef MEM_FORCE_MEMORY_ACCESS /* can be defined externally, on command line for example */ +-# if defined(__GNUC__) && ( defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_6T2__) ) +-# define MEM_FORCE_MEMORY_ACCESS 2 +-# elif defined(__INTEL_COMPILER) || defined(__GNUC__) || defined(__ICCARM__) ++# if defined(__INTEL_COMPILER) || defined(__GNUC__) || defined(__ICCARM__) + # define MEM_FORCE_MEMORY_ACCESS 1 + # endif + #endif +diff --git a/lib/common/xxhash.c b/lib/common/xxhash.c +index 0ddbf13a39..926b33604e 100644 +--- a/lib/common/xxhash.c ++++ b/lib/common/xxhash.c +@@ -30,9 +30,7 @@ + * Prefer these methods in priority order (0 > 1 > 2) + */ + #ifndef XXH_FORCE_MEMORY_ACCESS /* can be defined externally, on command line for example */ +-# if defined(__GNUC__) && ( defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_6T2__) ) +-# define XXH_FORCE_MEMORY_ACCESS 2 +-# elif (defined(__INTEL_COMPILER) && !defined(WIN32)) || \ ++# if (defined(__INTEL_COMPILER) && !defined(WIN32)) || \ + (defined(__GNUC__) && ( defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7S__) )) || \ + defined(__ICCARM__) + # define XXH_FORCE_MEMORY_ACCESS 1 From 8d75d596b5ecf5057f2a0bf2016d8ea4cef6c4e93c9ad2958f40e4c749a8c5a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 14 May 2021 20:44:49 +0000 Subject: [PATCH 3/8] - Update to version 1.5.0 * https://github.com/facebook/zstd/releases/tag/v1.5.0 * Improved Middle-Level Compression Speed * Improved High-Level Compression Ratio * Faster Decompression Speed * Dynamic Library Supports Multithreading by Default - Drop zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch, merged upstream OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=62 --- zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch | 51 -------------------------- zstd-1.4.9.tar.gz | 3 -- zstd-1.5.0.tar.gz | 3 ++ zstd-1.5.0.tar.gz.sig | 17 +++++++++ zstd.changes | 11 ++++++ zstd.keyring | 46 +++++++++++++++++++++++ zstd.spec | 10 +++-- 7 files changed, 83 insertions(+), 58 deletions(-) delete mode 100644 zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch delete mode 100644 zstd-1.4.9.tar.gz create mode 100644 zstd-1.5.0.tar.gz create mode 100644 zstd-1.5.0.tar.gz.sig create mode 100644 zstd.keyring diff --git a/zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch b/zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch deleted file mode 100644 index 4fa38e9..0000000 --- a/zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch +++ /dev/null @@ -1,51 +0,0 @@ -https://github.com/facebook/zstd/pull/2633 - -From 28d0120b5ac62b56cd858bd46480c73730d044b4 Mon Sep 17 00:00:00 2001 -From: "Bernhard M. Wiedemann" -Date: Tue, 11 May 2021 17:46:55 +0200 -Subject: [PATCH] Avoid SIGBUS on armv6 - -When running armv6 userspace on armv8 hardware with a 64 bit Linux kernel, -the mode 2 caused SIGBUS (unaligned memory access). -Running all our arm builds in the build farm -only on armv8 simplifies administration a lot. - -Depending on compiler and environment, this change might slow down -memory accesses (did not benchmark it). The original analysis is 6 years old. - -Fixes #2632 ---- - lib/common/mem.h | 4 +--- - lib/common/xxhash.c | 4 +--- - 2 files changed, 2 insertions(+), 6 deletions(-) - -diff --git a/lib/common/mem.h b/lib/common/mem.h -index dc6667c68b..9f3b81ab9d 100644 ---- a/lib/common/mem.h -+++ b/lib/common/mem.h -@@ -143,9 +143,7 @@ MEM_STATIC size_t MEM_swapST(size_t in); - * Prefer these methods in priority order (0 > 1 > 2) - */ - #ifndef MEM_FORCE_MEMORY_ACCESS /* can be defined externally, on command line for example */ --# if defined(__GNUC__) && ( defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_6T2__) ) --# define MEM_FORCE_MEMORY_ACCESS 2 --# elif defined(__INTEL_COMPILER) || defined(__GNUC__) || defined(__ICCARM__) -+# if defined(__INTEL_COMPILER) || defined(__GNUC__) || defined(__ICCARM__) - # define MEM_FORCE_MEMORY_ACCESS 1 - # endif - #endif -diff --git a/lib/common/xxhash.c b/lib/common/xxhash.c -index 0ddbf13a39..926b33604e 100644 ---- a/lib/common/xxhash.c -+++ b/lib/common/xxhash.c -@@ -30,9 +30,7 @@ - * Prefer these methods in priority order (0 > 1 > 2) - */ - #ifndef XXH_FORCE_MEMORY_ACCESS /* can be defined externally, on command line for example */ --# if defined(__GNUC__) && ( defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_6T2__) ) --# define XXH_FORCE_MEMORY_ACCESS 2 --# elif (defined(__INTEL_COMPILER) && !defined(WIN32)) || \ -+# if (defined(__INTEL_COMPILER) && !defined(WIN32)) || \ - (defined(__GNUC__) && ( defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7S__) )) || \ - defined(__ICCARM__) - # define XXH_FORCE_MEMORY_ACCESS 1 diff --git a/zstd-1.4.9.tar.gz b/zstd-1.4.9.tar.gz deleted file mode 100644 index 1308353..0000000 --- a/zstd-1.4.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:acf714d98e3db7b876e5b540cbf6dee298f60eb3c0723104f6d3f065cd60d6a8 -size 1834843 diff --git a/zstd-1.5.0.tar.gz b/zstd-1.5.0.tar.gz new file mode 100644 index 0000000..09aa2cb --- /dev/null +++ b/zstd-1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5194fbfa781fcf45b98c5e849651aa7b3b0a008c6b72d4a0db760f3002291e94 +size 1851389 diff --git a/zstd-1.5.0.tar.gz.sig b/zstd-1.5.0.tar.gz.sig new file mode 100644 index 0000000..10ed5d3 --- /dev/null +++ b/zstd-1.5.0.tar.gz.sig @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- + +iQJFBAADCAAvFiEETvSsY0VfyfRUXZt974/plSi1L/0FAmCetpsRHHNpZ25pbmdA +enN0ZC5uZXQACgkQ74/plSi1L/35IA/+K6cAjoErVr92dvObAAtXpel+5VBixWjE +fxC7c5PDc4iU/KX4I3Jy9UqaM89roYil0C80K69/5NUIYksr6KZ+Ky+8nNrfmJtn +bbXDF5xEpHuYZl3+0YQaRx85R+bVfe7Zg5BK9JiqRBAQ5ViQBtIeV8Qm52e9Y2qM +zqEqzOWQKnDQITry0vOntl2YDrNOt/LkL0g8jqJpgjpOaCeITbHelg4iH+GZswTo +Nzm4CKqtW6pmdiIfw8s4+/2jzjeGx4WqfoXgn/NHu00pbGjL7o5A0Aa97PX1qIrN +kj9edtt5yOcq68FqZvDnJLS72z1E/RbHabmqUH/gXhK80t/FA0OeB/Cqk8HheN8F +V5nXsJCjbLuu0uCRmdwWAqFK4yCBcEfC6zDs/K2kXdJsZ7sU9sACwRhOGp3JkUyB +9u17n3qLBlNcK13/1t7EJZ3F5hv+uXwfbttSSkKZ81b10S6+KgD7L0sVZT8HpUEO +B+uf3mxII/HU08AV1oAq9B12tJvcP9i/hNHCEmb11PMMVbXuIrBlE1Tcb8nB+Jlr +t9NL+lYdkZ36zxqZO7FVPoUSloPDWVRfaATY0Bde6DI27yCQzMV8XJ8a8+4yrrSN +Yybb2AJMvumP6vf1NZ1rwR84/ZjntCOM5B9KCKJE1IY5usRWAXP0Y447xPPKo/eZ +W/aDitqa1N8= +=BVY7 +-----END PGP SIGNATURE----- diff --git a/zstd.changes b/zstd.changes index 288c2da..d3cd080 100644 --- a/zstd.changes +++ b/zstd.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri May 14 20:34:25 UTC 2021 - Ismail Dönmez + +- Update to version 1.5.0 + * https://github.com/facebook/zstd/releases/tag/v1.5.0 + * Improved Middle-Level Compression Speed + * Improved High-Level Compression Ratio + * Faster Decompression Speed + * Dynamic Library Supports Multithreading by Default +- Drop zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch, merged upstream + ------------------------------------------------------------------- Tue May 11 18:28:45 UTC 2021 - Bernhard Wiedemann diff --git a/zstd.keyring b/zstd.keyring new file mode 100644 index 0000000..7dd277f --- /dev/null +++ b/zstd.keyring @@ -0,0 +1,46 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +mQINBGBHFsYDEADO1/NR1gJfA9qejrQB3Z/9hu2CXHU+dCmkXux+g7Q/r+UvFGzDrV9PezC4 +cjftkKuQcfnnWZ57WbFnMnlmWiFVpLbO9cBV9D01/ld9XwmcVE917bBkjhY5PkBfFPtH8q0V +8In+VXobqDNEyQsh08vzGmuww1Basra2xMk+jwB6k2x1/rco1olxVLVgJOU3O0Utrsj2gzj/ +/f33r5iL9R0khMZRtN95uxMvAik8SqCdJCK69SdMw1fSixDwMOaf1BMzEhRbe9nZ/b7M0cLa +tnyZnthopEqxM4UbIvdnG20Io+QjLRoc8i+OkoZ6AOshVsDqyLYg4qqYu6+M9ur82S+yes/V +XbjxZYCfNw7KvuRqeUFgQgEegv10sB7ZGvSeSFXxTnG0cY/t4ggqMi/OLr7uGHcxOPtjVYeU +H1YKrAIHtuDGWK2gvTGy4jhnOLmym9IM+3Deix3/aXYsuU2ijprf6LqmqYKcjpFrq8UchLV3 +pdWfggoIfESpZboFl5dVva+SSZrKiUQ1D7CmCWHFYmMUrKhxiUPq5T3ksCyokCyJ2RDwG4ry +zhHUO7LU9SSOcYbApRzhrkO0WD4TU3kMokj123HHRmn6hPV08lgac4ZGpg9zZS/U7vpNMvUA +20o75YYp7nSvi68qDWLwoPucCzB905bT6W6MWsDnhPSk+v93hwARAQABtDBac3RhbmRhcmQg +UmVsZWFzZ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IcY+xaYFOraZP445NdPS5aT2hh +/5/jFlnWqYziTbdWNNQWBTLwk6eDIC4/+wr0RO277txoVMvPX+pXZrnUsFl2A6Algg+PmnrC +kUgX/xOzmWeQHr+D3j2+NBQ8eK5jT/SgBQkg8b8NsG8iN/d7r7GufadWX9x2j/5SdoaEx95O +Qs/aDFym9wujwaK40CyRjn/7PpLu2obVzBgFnDDeg4ZfmjE= +=koGw +-----END PGP PUBLIC KEY BLOCK----- diff --git a/zstd.spec b/zstd.spec index e02c50f..2a6fbac 100644 --- a/zstd.spec +++ b/zstd.spec @@ -1,7 +1,7 @@ # # spec file for package zstd # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,17 +19,17 @@ %define major 1 %define libname lib%{name}%{major} Name: zstd -Version: %{major}.4.9 +Version: %{major}.5.0 Release: 0 Summary: Zstandard compression tools License: BSD-3-Clause AND GPL-2.0-only Group: Productivity/Archiving/Compression URL: https://github.com/facebook/zstd Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz.sig +Source2: zstd.keyring Source99: baselibs.conf Patch1: pzstd.1.patch -# PATCH-FIX-UPSTREAM https://github.com/facebook/zstd/pull/2633 -Patch2: zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch BuildRequires: gcc # C++ is needed for pzstd only BuildRequires: gcc-c++ @@ -47,6 +47,8 @@ compression than gzip. For roughly the same time, zstd achives a ~12%% better ratio than gzip. LZMA outperforms zstd by ~10%% faster compression for same ratio, or ~1–4%% size reduction for same time. + + # This compression summary is based on https://lists.opensuse.org/opensuse-factory/2019-05/msg00344.html %package -n %{libname} From 60e8d0262ded0b0fe1ec0673d977ef91268f5056f1cab2c918c2b39bc7811215 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 14 May 2021 20:55:08 +0000 Subject: [PATCH 4/8] - OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=63 --- zstd.keyring | 71 ++++++++++++++++++++-------------------------------- zstd.spec | 4 ++- 2 files changed, 30 insertions(+), 45 deletions(-) diff --git a/zstd.keyring b/zstd.keyring index 7dd277f..466af97 100644 --- a/zstd.keyring +++ b/zstd.keyring @@ -1,46 +1,29 @@ -----BEGIN PGP PUBLIC KEY BLOCK----- -mQINBGBHFsYDEADO1/NR1gJfA9qejrQB3Z/9hu2CXHU+dCmkXux+g7Q/r+UvFGzDrV9PezC4 -cjftkKuQcfnnWZ57WbFnMnlmWiFVpLbO9cBV9D01/ld9XwmcVE917bBkjhY5PkBfFPtH8q0V -8In+VXobqDNEyQsh08vzGmuww1Basra2xMk+jwB6k2x1/rco1olxVLVgJOU3O0Utrsj2gzj/ -/f33r5iL9R0khMZRtN95uxMvAik8SqCdJCK69SdMw1fSixDwMOaf1BMzEhRbe9nZ/b7M0cLa -tnyZnthopEqxM4UbIvdnG20Io+QjLRoc8i+OkoZ6AOshVsDqyLYg4qqYu6+M9ur82S+yes/V -XbjxZYCfNw7KvuRqeUFgQgEegv10sB7ZGvSeSFXxTnG0cY/t4ggqMi/OLr7uGHcxOPtjVYeU -H1YKrAIHtuDGWK2gvTGy4jhnOLmym9IM+3Deix3/aXYsuU2ijprf6LqmqYKcjpFrq8UchLV3 -pdWfggoIfESpZboFl5dVva+SSZrKiUQ1D7CmCWHFYmMUrKhxiUPq5T3ksCyokCyJ2RDwG4ry -zhHUO7LU9SSOcYbApRzhrkO0WD4TU3kMokj123HHRmn6hPV08lgac4ZGpg9zZS/U7vpNMvUA -20o75YYp7nSvi68qDWLwoPucCzB905bT6W6MWsDnhPSk+v93hwARAQABtDBac3RhbmRhcmQg -UmVsZWFzZSBTaWduaW5nIEtleSA8c2lnbmluZ0B6c3RkLm5ldD6JAjMEEAEIAB0WIQTLJCQO -gEqX2l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lyEW+D5DJqsmBdfk0yz8l67IehfxkLKJDu0sinsPwc +BZfo7EnPIsaHLCHwe/DKNW7UaosL2uW/cbYPgLW8LPol+6ggGIOi9bg/NOHf5ty9 ++lSGK06+97PpRx9WG7pBzZBWwFkJ7oLd/EZRXs++HzSnMS4tWwb9exSnx4HufNcH +GC2UR1MPjMbw+qq0E6+2N5XwAkfIT7wzRdCjBFhP3knMbBN/cdxanRtgrBzJCVmh +Xhu5ABVK+ncBi/bPPK8CSDBXNFQ48RJya6SrSfpl2QdPwd81B04V6Gw4MLEqwWxR +IN3zCPLMvICK/e0EFWcFV/9gopExNhz+b422BHqsDV95pvaGU4Vmlgcuq4O0Mflw +L+KjMXZgCtQlYLL7dUUuBq1KodqdYuPqD7JikclV6h7D6Edy7UDdrroBfs8zw5NN +Qhxj7FpgU6tpk/jjk109LlpPaGH/n+MWWdapjOJNt1Y01BYFMvCTp4MgLj/7CvRE +7bvu3GhUy89f6ldmudSwWXYDoCWCD4+aesKRSBf/E7OZZ5Aev4PePb40FDx4rmNP +9KAFCSDxvw2wbyI393uvsa59p1Zf3HaP/lJ2hoTH3k5Cz9oMXKb3C6PBorjQLJGO +f/s+ku7ahtXMGAWcMN6Dhl+aMQ== +=5w/O -----END PGP PUBLIC KEY BLOCK----- diff --git a/zstd.spec b/zstd.spec index 2a6fbac..5456eaf 100644 --- a/zstd.spec +++ b/zstd.spec @@ -49,8 +49,10 @@ compression for same ratio, or ~1–4%% size reduction for same time. -# This compression summary is based on https://lists.opensuse.org/opensuse-factory/2019-05/msg00344.html + + +# This compression summary is based on https://lists.opensuse.org/opensuse-factory/2019-05/msg00344.html %package -n %{libname} Summary: Zstd compression library Group: System/Libraries From 2d1075a9ab217fea615796fddcb9df55791905122ce08739553bdb8ce0beebad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 14 May 2021 20:56:04 +0000 Subject: [PATCH 5/8] - OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=64 --- zstd.spec | 5 ----- 1 file changed, 5 deletions(-) diff --git a/zstd.spec b/zstd.spec index 5456eaf..15ada62 100644 --- a/zstd.spec +++ b/zstd.spec @@ -47,11 +47,6 @@ compression than gzip. For roughly the same time, zstd achives a ~12%% better ratio than gzip. LZMA outperforms zstd by ~10%% faster compression for same ratio, or ~1–4%% size reduction for same time. - - - - - # This compression summary is based on https://lists.opensuse.org/opensuse-factory/2019-05/msg00344.html %package -n %{libname} Summary: Zstd compression library From a0159a226bb7e3548624d8a68581b78b963b7b0564f44347d5c37f980870b1a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 14 May 2021 20:56:40 +0000 Subject: [PATCH 6/8] - OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=65 --- zstd.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/zstd.spec b/zstd.spec index 15ada62..6b51e24 100644 --- a/zstd.spec +++ b/zstd.spec @@ -48,6 +48,7 @@ compression than gzip. For roughly the same time, zstd achives a compression for same ratio, or ~1–4%% size reduction for same time. # This compression summary is based on https://lists.opensuse.org/opensuse-factory/2019-05/msg00344.html + %package -n %{libname} Summary: Zstd compression library Group: System/Libraries From f80dfb40092f8982f6978454351946f286e193314ac866e7d1339f576aaa1d4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 14 May 2021 21:12:38 +0000 Subject: [PATCH 7/8] Fix URLs OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=66 --- zstd.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zstd.spec b/zstd.spec index 6b51e24..128fec8 100644 --- a/zstd.spec +++ b/zstd.spec @@ -25,8 +25,8 @@ Summary: Zstandard compression tools License: BSD-3-Clause AND GPL-2.0-only Group: Productivity/Archiving/Compression URL: https://github.com/facebook/zstd -Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -Source1: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz.sig +Source0: https://github.com/facebook/zstd/releases/download/v%{version}/%{name}-%{version}.tar.gz +Source1: https://github.com/facebook/zstd/releases/download/v%{version}/%{name}-%{version}.tar.gz.sig Source2: zstd.keyring Source99: baselibs.conf Patch1: pzstd.1.patch @@ -47,8 +47,8 @@ compression than gzip. For roughly the same time, zstd achives a ~12%% better ratio than gzip. LZMA outperforms zstd by ~10%% faster compression for same ratio, or ~1–4%% size reduction for same time. -# This compression summary is based on https://lists.opensuse.org/opensuse-factory/2019-05/msg00344.html +# This compression summary is based on https://lists.opensuse.org/opensuse-factory/2019-05/msg00344.html %package -n %{libname} Summary: Zstd compression library Group: System/Libraries From f7a8e14a618117acb8da49a2662beb5da02f95d6784196a8e2567b40f15c36c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 14 May 2021 21:14:24 +0000 Subject: [PATCH 8/8] - OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=67 --- zstd.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zstd.spec b/zstd.spec index 128fec8..da15b3a 100644 --- a/zstd.spec +++ b/zstd.spec @@ -47,8 +47,8 @@ compression than gzip. For roughly the same time, zstd achives a ~12%% better ratio than gzip. LZMA outperforms zstd by ~10%% faster compression for same ratio, or ~1–4%% size reduction for same time. - # This compression summary is based on https://lists.opensuse.org/opensuse-factory/2019-05/msg00344.html + %package -n %{libname} Summary: Zstd compression library Group: System/Libraries