Tighten string for grep to search for

epel9
Jeff Law 5 years ago
parent 0806dba392
commit d379b1d23a

@ -70,7 +70,7 @@ make clean
%check %check
# Scan shared libs for unpatched '/lib' strings to prevent issues # Scan shared libs for unpatched '/lib' strings to prevent issues
# on 64-bit multilib platforms. # 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 %ldconfig_scriptlets

Loading…
Cancel
Save