test-rebuild: add file listing and output diff's

epel9
Jens Petersen 12 years ago
parent 4f1f547f24
commit 73b6ce9c57

@ -34,9 +34,12 @@ PKGS=$(rpm -qp *)
sudo yum install $PKGS
for i in $PKGS; do
for k in requires provides; 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 -u ../$TMP/$i.$k.installed ../$TMP/$i.$k.test > ../$k.$i.diff
cat ../$k.$i.diff
done
done
ls -lt list.* provides.* requires.*

Loading…
Cancel
Save