From fc2c2c06aebf7060b2cbb5af43741d320f58ea0b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 3 Apr 2014 10:30:56 +0200 Subject: [PATCH] hooks/post-install/strip: another day, another better regexp for shlib-provides. --- common/hooks/post-install/03-strip-and-debug-pkgs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/hooks/post-install/03-strip-and-debug-pkgs.sh b/common/hooks/post-install/03-strip-and-debug-pkgs.sh index 12eac9e505..3f471d8519 100644 --- a/common/hooks/post-install/03-strip-and-debug-pkgs.sh +++ b/common/hooks/post-install/03-strip-and-debug-pkgs.sh @@ -106,7 +106,7 @@ hook() { fi echo " Stripped library: ${f#$PKGDESTDIR}" _soname=$(${OBJDUMP} -p "$f"|grep SONAME|awk '{print $2}') - pattern="^lib[[:alnum:]_-]+\.so(\.[0-9]+)*$" + pattern="^lib[[:alnum:]_-]+(.*)+\.so(\.[0-9]+)*$" if [[ ${_soname} =~ $pattern ]]; then if [ ! -e ${PKGDESTDIR}/usr/lib/${fname} ]; then continue