X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=zstd.spec;h=e3dc6de14c0928a2195393a2a753936110f9e7d3;hb=299bf6ba9780ca13f928c5a021ce2f1d3674969e;hp=e34b388f44b35ca9157a518fd86918a4669779dd;hpb=74fb6f8d1ddb96785e26aea5f9b8997beb9025d5;p=packages%2Fzstd.git diff --git a/zstd.spec b/zstd.spec index e34b388..e3dc6de 100644 --- a/zstd.spec +++ b/zstd.spec @@ -2,25 +2,19 @@ # Conditional build: %bcond_without asm # disable assembler -# workaround executable stack on non-x86_64 -# https://github.com/facebook/zstd/issues/2963 -# (actually asm is x86_64 only, other archs have empty asm file, without non-exec stack marker) -%ifnarch %{x8664} -%undefine with_asm -%endif - Summary: Zstandard - fast lossless compression algorithm Summary(pl.UTF-8): Zstandard - szybki, bezstratny algorytm kompresji Name: zstd -Version: 1.5.1 -Release: 2 +Version: 1.5.6 +Release: 1 License: BSD Group: Libraries #Source0Download: https://github.com/facebook/zstd/releases Source0: https://github.com/facebook/zstd/archive/v%{version}/%{name}-%{version}.tar.gz -# Source0-md5: 120d77140ad538e8bd3a7dae6a38c4c9 +# Source0-md5: 2543d7cb3beda9ec48f965e5059dbd42 URL: https://github.com/facebook/zstd BuildRequires: gcc >= 5:3.2 +BuildRequires: libstdc++-devel BuildRequires: lz4-devel BuildRequires: xz-devel BuildRequires: zlib-devel @@ -75,6 +69,8 @@ CXXFLAGS="%{rpmcxxflags} %{rpmcppflags}" \ LDFLAGS="%{rpmldflags}" \ %{__make} allmost manual \ V=1 \ + PREFIX=%{_prefix} \ + LIBDIR=%{_libdir} \ %{!?with_asm:ZSTD_NO_ASM=1} %install