Panu Matilainen 019f97
diff -up rpm-4.8.0/scripts/pkgconfigdeps.sh.pkgconfig-private rpm-4.8.0/scripts/pkgconfigdeps.sh
Panu Matilainen 019f97
--- rpm-4.8.0/scripts/pkgconfigdeps.sh.pkgconfig-private	2010-05-27 15:24:48.000000000 +0300
Panu Matilainen 019f97
+++ rpm-4.8.0/scripts/pkgconfigdeps.sh	2010-05-27 15:25:01.000000000 +0300
Panu Matilainen 019f97
@@ -39,7 +39,7 @@ case $1 in
Panu Matilainen 019f97
 	[ $i -eq 1 ] && echo "$pkgconfig"
Panu Matilainen 019f97
 	DIR="`dirname ${filename}`"
Panu Matilainen 019f97
 	export PKG_CONFIG_PATH="$DIR:$DIR/../../share/pkgconfig"
Panu Matilainen 019f97
-	$pkgconfig --print-requires "$filename" 2> /dev/null | while read n r v ; do
Panu Matilainen 019f97
+	$pkgconfig --print-requires --print-requires-private "$filename" 2> /dev/null | while read n r v ; do
Panu Matilainen 019f97
 	    [ -n "$n" ] || continue
Panu Matilainen 019f97
 	    echo -n "pkgconfig($n) "
Panu Matilainen 019f97
 	    [ -n "$r" ] && [ -n "$v" ] && echo -n "$r" "$v"