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

epel9
Jens Petersen 12 years ago
parent ca5159471f
commit 1bb678c64a

@ -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

Loading…
Cancel
Save