test-rebuild: fix builddep command and ghc-PKG rpm listing

epel9
Jens Petersen 12 years ago
parent 07fccfd9a1
commit 8b059158ba

@ -5,7 +5,7 @@ PKG=$1
fedpkg clone -a $PKG
cd $PKG
sudo yum build-depends $PKG
sudo yum builddep $PKG
fedpkg local
@ -19,7 +19,7 @@ sudo yum install $PKGS
for i in $PKGS; do
for k in requires provides; do
rpm -qp --$k $i*.rpm > ../test/$i.$k.test
rpm -qp --$k $(ls $i*.rpm | head) > ../test/$i.$k.test
rpm -q --$k $i > ../test/$i.$k.installed
diff -u ../test/$i.$k.installed ../test/$i.$k.test > ../$i.$k.diff
done

Loading…
Cancel
Save