diff --git a/test-rebuild b/test-rebuild index eba4cb0..d6adc92 100755 --- a/test-rebuild +++ b/test-rebuild @@ -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