[packages/redis] use same make opts for make test

glen glen at pld-linux.org
Sat May 7 17:02:46 CEST 2016


commit 8234af62c7e61104898e0a3d09b67c62dd82e2cd
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat May 7 17:46:42 2016 +0300

    use same make opts for make test

 redis.spec | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/redis.spec b/redis.spec
index 40675fe..1462977 100644
--- a/redis.spec
+++ b/redis.spec
@@ -89,11 +89,9 @@ ln -s %{_libdir} deps/jemalloc/lib
 ln -s %{_includedir} deps/jemalloc/include
 
 %build
-%{__make} -j1 all \
-	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} -std=c99" \
-	DEBUG="" \
-	V=1
+%define _make_opts CC="%{__cc}" CFLAGS="%{rpmcflags} -std=c99" DEBUG="" V=1
+
+%{__make} -j1 all
 
 %if %{with tests}
 %{__make} test
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/redis.git/commitdiff/7674df1b960c70a67ba3a437019b1533f42e34b2



More information about the pld-cvs-commit mailing list