]> git.pld-linux.org Git - packages/zstd.git/blobdiff - zstd.spec
up to 1.5.6
[packages/zstd.git] / zstd.spec
index e34b388f44b35ca9157a518fd86918a4669779dd..e3dc6de14c0928a2195393a2a753936110f9e7d3 100644 (file)
--- 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
This page took 0.06533 seconds and 4 git commands to generate.