Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Tulio Magno Quites Machado Filho
c93c81c630 Enable DFLTCC on s390x
Ensure DFLTCC is enabled on s390x for both deflate and inflate.
2025-12-12 10:36:45 -03:00
Packit
d5f7e25717 Update to 2.3.2 upstream release
- Resolves: rhbz#2418517

Upstream tag: 2.3.2
Upstream commit: 6d9f3dc0

Commit authored by Packit automation (https://packit.dev/)
2025-12-03 09:00:04 +00:00
Tulio Magno Quites Machado Filho
f8484b5212 Do not build CRC32 Chorba optimization on RHEL10+
RHEL 10 requires x86_64-v3. Meanwhile, CRC32 Chorba is used on x86_64-v2
and older processors.

[skip changelog]
2025-11-27 16:03:47 -03:00
Tulio Magno Quites Machado Filho
c8c1c8f78d Stop using riscv64 settings on other architectures
While having this parameter doesn't, it does generate extra warnings to
the build log.

[skip changelog]
2025-11-27 16:03:02 -03:00
Packit
39ebff5723 Update to 2.3.1 upstream release
- Resolves: rhbz#2417595

Upstream tag: 2.3.1
Upstream commit: 68c83bf4

Commit authored by Packit automation (https://packit.dev/)
2025-11-27 17:24:13 +00:00
3 changed files with 21 additions and 4 deletions

View file

@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.11.0.
The file was generated using packit 1.12.0.post1.dev20+g7d30dac21.

View file

@ -1 +1 @@
SHA512 (zlib-ng-2.2.5.tar.gz) = b599ea24375d08fa098ed7c3b14548e0d9731a155a024a0904b0ae4a6d3491a69f0c0574d66b6e4af1e40f10e38b6b555d4c4b1fe3589ca83a5f97fbd92f635f
SHA512 (zlib-ng-2.3.2.tar.gz) = 8781ee4bfda7cb8c8c5150c2e6a067d699580616b61af2ea4cf03cbe14c6715b31a29a20b7c3dd97254a9e487c72c5228c9cfa817ff71aa765fe7043ab136f04

View file

@ -18,7 +18,7 @@
%global supported_abi_test aarch64 ppc64le x86_64
Name: zlib-ng
Version: 2.2.5
Version: 2.3.2
Release: %autorelease
Summary: Zlib replacement with optimizations
License: Zlib
@ -98,7 +98,24 @@ cat <<_EOF_
_EOF_
# zlib-ng uses a different macro for library directory.
%global cmake_param %{?with_sanitizers:-DWITH_SANITIZER=ON} -DWITH_RVV=OFF
%global cmake_param %{?with_sanitizers:-DWITH_SANITIZER=ON}
%ifarch riscv64
%global cmake_param %cmake_param -DWITH_RVV=OFF
%endif
%ifarch s390x
%global cmake_param %cmake_param -DWITH_DFLTCC_DEFLATE=ON -DWITH_DFLTCC_INFLATE=ON
%endif
%if 0%{?rhel} >= 10
%ifarch x86_64
# RHEL 10 has x86_64-v3 as baseline, turning the CRC32 Chorba optimization
# unnecessary.
# More info: https://github.com/zlib-ng/zlib-ng/releases/tag/2.3.1
%global cmake_param %cmake_param -DWITH_CRC32_CHORBA=OFF
%endif
%endif
# Setting __cmake_builddir is not necessary in this step, but do it anyway for symmetry.
%global __cmake_builddir %{_vpath_builddir}