From 1bb678c64ae916629927337f9a3fe7d51538ec7e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 5 Oct 2012 19:15:07 +0900 Subject: [PATCH] test-rebuild: really fix yum-builddep; list subpackages by name-ver --- test-rebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-rebuild b/test-rebuild index ba2ce91..7ecd93f 100755 --- a/test-rebuild +++ b/test-rebuild @@ -10,14 +10,14 @@ if [ -n "$2" ]; then fedpkg switch-branch $2 fi -sudo yum builddep $PKG.spec +sudo yum-builddep $PKG.spec fedpkg local mkdir -p test cd $(arch) -PKGS=$(rpm -qp --qf "%{name}\n" *) +PKGS=$(rpm -qp --qf "%{name}-%{version}\n" *) sudo yum install $PKGS