[packages/setup] ldd logs to stderr now

atler atler at pld-linux.org
Wed Apr 29 16:43:12 CEST 2020


commit 7a3e4d83d0f05e2c2098580a7c7bb3df65165e0b
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Apr 29 16:42:41 2020 +0200

    ldd logs to stderr now

 setup.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/setup.spec b/setup.spec
index 0b60123..9a23ccc 100644
--- a/setup.spec
+++ b/setup.spec
@@ -111,7 +111,7 @@ cp -p %{SOURCE3} iana-etc/port-numbers.iana
 	OPT_FLAGS="%{rpmcflags} -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64" \
 	LDFLAGS="%{rpmcflags} %{rpmldflags} -static"
 
-ldd postshell | grep "not a dynamic executable" || exit 1
+ldd postshell 2>&1 | grep "not a dynamic executable" || exit 1
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/setup.git/commitdiff/7a3e4d83d0f05e2c2098580a7c7bb3df65165e0b



More information about the pld-cvs-commit mailing list