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

This commit is contained in:
Jens Petersen 2012-10-09 10:57:48 +09:00
parent 4f1f547f24
commit 73b6ce9c57

View File

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