|
|
|
@ -37,7 +37,7 @@ for i in $PKGS; do
|
|
|
|
|
for k in list requires provides; do
|
|
|
|
|
rpm -qp --$k $i.rpm | grep -v rpmlib > ../$TMP/$i.$k.test
|
|
|
|
|
rpm -q --$k $i | grep -v rpmlib > ../$TMP/$i.$k.installed
|
|
|
|
|
DIFF=$(diff -u ../$TMP/$i.$k.installed ../$TMP/$i.$k.test)
|
|
|
|
|
DIFF=$(diff -u ../$TMP/$i.$k.installed ../$TMP/$i.$k.test || :)
|
|
|
|
|
if [ -z "$DIFF" ]; then
|
|
|
|
|
echo "$i $k: same"
|
|
|
|
|
else
|
|
|
|
@ -46,5 +46,3 @@ for i in $PKGS; do
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
ls -lt list.* provides.* requires.*
|
|
|
|
|