From cc6ea5d19b0b5372fbd1cfbbb71e373493b961c7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 9 Apr 2014 09:25:05 +0200 Subject: [PATCH] hooks/post-install/pkglint: more tweaks for the shlib checks. --- common/hooks/post-install/99-pkglint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/hooks/post-install/99-pkglint.sh b/common/hooks/post-install/99-pkglint.sh index 23f35da1b8..228aaa7c2a 100644 --- a/common/hooks/post-install/99-pkglint.sh +++ b/common/hooks/post-install/99-pkglint.sh @@ -35,7 +35,7 @@ hook() { if [ "$rev" = "$filename" ]; then _pattern="^${_shlib}\.so[[:blank:]]+${_pkgname}-[^-]+_[0-9]+$" else - _pattern="^${_shlib}\.so\.[0-9]+[[:blank:]]+${_pkgname}-[^-]+_[0-9]+$" + _pattern="^${_shlib}\.so\.[0-9]+(.*)[[:blank:]]+${_pkgname}-[^-]+_[0-9]+$" fi grep -E "${_pattern}" $mapshlibs | { \ while read conflictFile conflictPkg; do