diff --git a/zstd.spec b/zstd.spec index 24159a8..4c3076a 100644 --- a/zstd.spec +++ b/zstd.spec @@ -13,7 +13,7 @@ Name: zstd Version: 1.4.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Zstd compression library License: BSD and GPLv2 @@ -63,9 +63,8 @@ find -name .gitignore -delete %build export CFLAGS="$RPM_OPT_FLAGS" export LDFLAGS="$RPM_LD_FLAGS" -for dir in lib programs; do - %make_build -C "$dir" -done +%make_build -C lib lib-mt +%make_build -C programs %if %{with pzstd} export CXXFLAGS="$RPM_OPT_FLAGS -std=c++11" %make_build -C contrib/pzstd @@ -124,6 +123,9 @@ install -D -m644 programs/%{name}.1 %{buildroot}%{_mandir}/man1/p%{name}.1 %ldconfig_scriptlets -n lib%{name} %changelog +* Sat Jul 11 2020 Igor Raits - 1.4.5-4 +- Build libzstd with multi-threading support + * Mon May 25 2020 Pádraig Brady - 1.4.5-3 - Build shared library with correct compiler flags