test-rebuild: filter out rpmlib lines; diff can't filter lines

epel9
Jens Petersen 12 years ago
parent a8bcd3741f
commit 4f1f547f24

@ -35,8 +35,8 @@ sudo yum install $PKGS
for i in $PKGS; do
for k in requires provides; do
rpm -qp --$k $i.rpm > ../$TMP/$i.$k.test
rpm -q --$k $i > ../$TMP/$i.$k.installed
diff -u --exclude="rpmlib(FileDigests)" ../$TMP/$i.$k.installed ../$TMP/$i.$k.test > ../$k.$i.diff
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
done
done

Loading…
Cancel
Save