Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c93c81c630 | ||
|
|
d5f7e25717 | ||
|
|
f8484b5212 | ||
|
|
c8c1c8f78d | ||
|
|
39ebff5723 |
3 changed files with 21 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (zlib-ng-2.2.5.tar.gz) = b599ea24375d08fa098ed7c3b14548e0d9731a155a024a0904b0ae4a6d3491a69f0c0574d66b6e4af1e40f10e38b6b555d4c4b1fe3589ca83a5f97fbd92f635f
|
||||
SHA512 (zlib-ng-2.3.2.tar.gz) = 8781ee4bfda7cb8c8c5150c2e6a067d699580616b61af2ea4cf03cbe14c6715b31a29a20b7c3dd97254a9e487c72c5228c9cfa817ff71aa765fe7043ab136f04
|
||||
|
|
|
|||
21
zlib-ng.spec
21
zlib-ng.spec
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue