From ca5159471f6a674ff2f8751a2ae91aeb7a209d8f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 5 Oct 2012 19:07:51 +0900 Subject: [PATCH] test-rebuild: 2nd arg for fedora branch --- test-rebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test-rebuild b/test-rebuild index be6a46a..ba2ce91 100755 --- a/test-rebuild +++ b/test-rebuild @@ -6,6 +6,10 @@ PKG=$1 [ -d "$PKG" ] && cd $PKG +if [ -n "$2" ]; then + fedpkg switch-branch $2 +fi + sudo yum builddep $PKG.spec fedpkg local