From d379b1d23a3b028d6618717f5b15aeb5f423e740 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sat, 14 Dec 2019 17:06:09 -0700 Subject: [PATCH] Tighten string for grep to search for --- vamp-plugin-sdk.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vamp-plugin-sdk.spec b/vamp-plugin-sdk.spec index d05894c..2c29ecc 100644 --- a/vamp-plugin-sdk.spec +++ b/vamp-plugin-sdk.spec @@ -70,7 +70,7 @@ make clean %check # Scan shared libs for unpatched '/lib' strings to prevent issues # on 64-bit multilib platforms. -[ $(strings ${RPM_BUILD_ROOT}%{_libdir}/lib*.so.?|grep /lib|sed -e 's!/%{_lib}!/__FEDORA-LIB__!g'|grep -c /lib) -eq 0 ] +[ $(strings ${RPM_BUILD_ROOT}%{_libdir}/lib*.so.?|grep /lib/|sed -e 's!/%{_lib}!/__FEDORA-LIB__!g'|grep -c /lib/) -eq 0 ] %ldconfig_scriptlets