From 7a3e4d83d0f05e2c2098580a7c7bb3df65165e0b Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Wed, 29 Apr 2020 16:42:41 +0200 Subject: [PATCH] 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 -- 2.44.0