From cabed16e08080d759c7d2d6cd00da763bfec3f39 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 19 May 2022 10:14:55 +0100 Subject: [PATCH] Build pzst on all arches The pzst build works now on ARMv7/aarch64 as well as POWER and Z-Series. Also RHEL-6 is EOL so drop all pzst exceptions and just build it everywhere, but leave the conditionals so it can still be adjusted for specific cases if necessary. --- zstd.spec | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/zstd.spec b/zstd.spec index 330ddf5..4379e40 100644 --- a/zstd.spec +++ b/zstd.spec @@ -10,22 +10,12 @@ # enable .gz support by default %bcond_without zlib -%if 0%{?rhel} && 0%{?rhel} <= 6 -# gcc-4.4 is currently too old to compile pzstd -%bcond_with pzstd -%else -%ifarch %{ix86} x86_64 +# enable pzstd support by default %bcond_without pzstd -%else -# aarch64 and armv7hl at least currently segfault -# in ThreadPool test for the pzstd util -%bcond_with pzstd -%endif -%endif Name: zstd Version: 1.5.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Zstd compression library License: BSD and GPLv2 @@ -149,6 +139,9 @@ install -D -m644 programs/%{name}.1 %{buildroot}%{_mandir}/man1/p%{name}.1 %ldconfig_scriptlets -n lib%{name} %changelog +* Thu May 19 2022 Peter Robinson - 1.5.2-2 +- ThreadPool segfault fixed so build pzst everywhere + * Sat Jan 22 2022 Pádraig Brady - 1.5.2-1 - Latest upstream