hooks/post-install/pkglint: more tweaks for the shlib checks.

This commit is contained in:
Juan RP 2014-04-09 09:25:05 +02:00
parent 844d4619d6
commit cc6ea5d19b
1 changed files with 1 additions and 1 deletions

View File

@ -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