From 8b059158bac2b7d2fd545ef20aaaa0d281ec1395 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 5 Oct 2012 19:02:54 +0900 Subject: [PATCH] test-rebuild: fix builddep command and ghc-PKG rpm listing --- test-rebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-rebuild b/test-rebuild index 96e39f8..4df09ed 100755 --- a/test-rebuild +++ b/test-rebuild @@ -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