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.
This commit is contained in:
parent
670726ba76
commit
cabed16e08
17
zstd.spec
17
zstd.spec
@ -10,22 +10,12 @@
|
|||||||
# enable .gz support by default
|
# enable .gz support by default
|
||||||
%bcond_without zlib
|
%bcond_without zlib
|
||||||
|
|
||||||
%if 0%{?rhel} && 0%{?rhel} <= 6
|
# enable pzstd support by default
|
||||||
# gcc-4.4 is currently too old to compile pzstd
|
|
||||||
%bcond_with pzstd
|
|
||||||
%else
|
|
||||||
%ifarch %{ix86} x86_64
|
|
||||||
%bcond_without pzstd
|
%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
|
Name: zstd
|
||||||
Version: 1.5.2
|
Version: 1.5.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Zstd compression library
|
Summary: Zstd compression library
|
||||||
|
|
||||||
License: BSD and GPLv2
|
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}
|
%ldconfig_scriptlets -n lib%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 19 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 1.5.2-2
|
||||||
|
- ThreadPool segfault fixed so build pzst everywhere
|
||||||
|
|
||||||
* Sat Jan 22 2022 Pádraig Brady <P@draigBrady.com> - 1.5.2-1
|
* Sat Jan 22 2022 Pádraig Brady <P@draigBrady.com> - 1.5.2-1
|
||||||
- Latest upstream
|
- Latest upstream
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user