[packages/lz4] - added nom32 patch: don't build m32 variants in all target
qboosh
qboosh at pld-linux.org
Sun Nov 6 09:30:18 CET 2016
commit 17feb2b8193fc72fc5e8c38bc7529485d19adb7a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Nov 6 09:30:16 2016 +0100
- added nom32 patch: don't build m32 variants in all target
lz4-nom32.patch | 11 +++++++++++
lz4.spec | 5 ++---
2 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/lz4.spec b/lz4.spec
index 03ffac6..7d86ee4 100644
--- a/lz4.spec
+++ b/lz4.spec
@@ -7,10 +7,8 @@ License: BSD (library), GPL v2+ (CLI utility)
Group: Applications
Source0: https://github.com/Cyan4973/lz4/archive/%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 42b09fab42331da9d3fb33bd5c560de9
+Patch0: %{name}-nom32.patch
URL: http://www.lz4.org/
-%ifarch %{x8664}
-BuildRequires: gcc-multilib-32
-%endif
Requires: %{name}-libs = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -75,6 +73,7 @@ Statyczna biblioteka kompresora LZ4.
%prep
%setup -q
+%patch0 -p1
%build
CFLAGS="%{rpmcflags}" \
diff --git a/lz4-nom32.patch b/lz4-nom32.patch
new file mode 100644
index 0000000..72b3b21
--- /dev/null
+++ b/lz4-nom32.patch
@@ -0,0 +1,11 @@
+--- lz4-r131/programs/Makefile.orig 2015-06-29 11:48:37.000000000 +0200
++++ lz4-r131/programs/Makefile 2016-11-06 09:13:53.897631799 +0100
+@@ -70,7 +70,7 @@
+
+ bins: lz4 lz4c fullbench fuzzer frametest datagen
+
+-all: bins m32
++all: bins
+
+ lz4: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/lz4frame.c $(LZ4DIR)/xxhash.c bench.c lz4io.c lz4cli.c
+ $(CC) $(FLAGS) $^ -o $@$(EXT)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lz4.git/commitdiff/17feb2b8193fc72fc5e8c38bc7529485d19adb7a
More information about the pld-cvs-commit
mailing list