diff --git a/zstd.spec b/zstd.spec index 048f45a58c7219e84b08353318a63e0c586bc3c7..3ae6ab1e29840fd517e33330d2ae1203a87aee18 100644 --- a/zstd.spec +++ b/zstd.spec @@ -2,7 +2,7 @@ Name: zstd Version: 1.5.7 -Release: 4 +Release: 5 Summary: A fast lossless compression algorithm License: BSD-3-Clause AND GPL-2.0-only URL: https://github.com/facebook/zstd @@ -43,11 +43,23 @@ This package contains the header files for zstd library. %build %global _vpath_srcdir build/cmake %global _vpath_builddir build/shared -%cmake %{?with_pzstd:-DZSTD_BUILD_CONTRIB=ON} -DZSTD_BUILD_STATIC=NO -DZSTD_PROGRAMS_LINK_SHARED=YES +%cmake \ + -DZSTD_ZLIB_SUPPORT=ON \ + -DZSTD_LZMA_SUPPORT=ON \ + -DZSTD_LZ4_SUPPORT=ON \ + %{?with_pzstd:-DZSTD_BUILD_CONTRIB=ON} \ + -DZSTD_BUILD_STATIC=NO \ + -DZSTD_PROGRAMS_LINK_SHARED=YES %cmake_build %global _vpath_builddir build/static -%cmake %{?with_pzstd:-DZSTD_BUILD_CONTRIB=ON} -DZSTD_BUILD_SHARED=NO -DBUILD_TESTING=YES +%cmake \ + -DZSTD_ZLIB_SUPPORT=ON \ + -DZSTD_LZMA_SUPPORT=ON \ + -DZSTD_LZ4_SUPPORT=ON \ + %{?with_pzstd:-DZSTD_BUILD_CONTRIB=ON} \ + -DZSTD_BUILD_SHARED=NO \ + -DBUILD_TESTING=YES %cmake_build %check @@ -84,6 +96,9 @@ install -D -m644 programs/%{name}.1 %{buildroot}%{_mandir}/man1/p%{name}.1 %doc %{_datadir}/doc/zstd/zstd_manual.html %changelog +* Sun Nov 09 2025 Funda Wang - 1.5.7-5 +- force support of zlib, lzma and lz4 + * Tue Nov 04 2025 Funda Wang - 1.5.7-4 - build with cmake