From 00a887328177be2f6836e9b07183d211e07cd1eb Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 4 Apr 2014 17:29:14 +0200 Subject: [PATCH] hooks/post-install/pkglint: when listing revdeps make sure to not add false positives. --- 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 278060f9e1..6f3e1a32f8 100644 --- a/common/hooks/post-install/99-pkglint.sh +++ b/common/hooks/post-install/99-pkglint.sh @@ -44,7 +44,7 @@ hook() { msg_red "${pkgver}: SONAME bump detected: ${libname}.so.${conflictRev} -> ${libname}.so.${rev}\n" msg_red "${pkgver}: please update common/shlibs with this line: \"${libname}.so.${rev} ${pkgver}\"\n" msg_red "${pkgver}: all reverse dependencies should also be revbumped to be rebuilt against ${libname}.so.${rev}:\n" - _revdeps=$($XBPS_QUERY_XCMD -s ${libname} -p shlib-requires|awk '{print $1}') + _revdeps=$($XBPS_QUERY_XCMD -s ${libname}.so -p shlib-requires|awk '{print $1}') for x in ${_revdeps}; do msg_red " ${x%:}\n" done