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