hooks/post-install/pkglint: when listing revdeps make sure to not add false positives.

This commit is contained in:
Juan RP 2014-04-04 17:29:14 +02:00
parent 3ecb3c26fa
commit 00a8873281

View File

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