From f7593232c4020ffe3d9916e5ea0969ee60006a12 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Fri, 11 Jan 2013 01:07:06 +0000 Subject: rename-rpm-group: checkout only SPECS dir (suggested by pterjan) --- rename-rpm-group | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rename-rpm-group b/rename-rpm-group index 794ee5a..b5ad8df 100755 --- a/rename-rpm-group +++ b/rename-rpm-group @@ -55,9 +55,9 @@ sub print_update_group_cmd { echo Updating package $pkgname tmpdir=\$(mktemp -d) cd \$tmpdir -svn co $svnurl/$pkgname/current pkg +svn co $svnurl/$pkgname/current/SPECS pkg cd pkg -sed -i 's:$oldgrp:$newgrp:' SPECS/*.spec +sed -i 's:$oldgrp:$newgrp:' *.spec svn diff svn ci -m 'Update group: $oldgrp -> $newgrp' cd /tmp -- cgit v1.2.1