test-rebuild: really fix yum-builddep; list subpackages by name-ver

This commit is contained in:
Jens Petersen 2012-10-05 19:15:07 +09:00
parent ca5159471f
commit 1bb678c64a

View File

@ -10,14 +10,14 @@ if [ -n "$2" ]; then
fedpkg switch-branch $2 fedpkg switch-branch $2
fi fi
sudo yum builddep $PKG.spec sudo yum-builddep $PKG.spec
fedpkg local fedpkg local
mkdir -p test mkdir -p test
cd $(arch) cd $(arch)
PKGS=$(rpm -qp --qf "%{name}\n" *) PKGS=$(rpm -qp --qf "%{name}-%{version}\n" *)
sudo yum install $PKGS sudo yum install $PKGS