[packages/zlib] - fix building with rpm.org RPM, status of last command is exit status of entire %build, thus grep
hawk
hawk at pld-linux.org
Sat Mar 20 17:24:57 CET 2021
commit a2f98bfbb70e32ba16ab12b26fed02c7638d9aef
Author: Marcin Krol <hawk at tld-linux.org>
Date: Sat Mar 20 17:22:45 2021 +0100
- fix building with rpm.org RPM, status of last command is exit status
of entire %build, thus grep returning 1 when no match is found fails
entire %build
zlib.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/zlib.spec b/zlib.spec
index 4426686..4506db1 100644
--- a/zlib.spec
+++ b/zlib.spec
@@ -329,6 +329,7 @@ cd ../..
%if %{with tests}
%{__make} -j1 check 2>&1 | tee test-log
grep -q FAILED test-log && exit 1
+echo "Tests OK"
%endif
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/zlib.git/commitdiff/a2f98bfbb70e32ba16ab12b26fed02c7638d9aef
More information about the pld-cvs-commit
mailing list