X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/798a9e4e744b5323a990c4bfbd0e76ba282efdb4..37077bd3393d04af810a04b122cf96bdf8fde076:/packaging/release-rsync diff --git a/packaging/release-rsync b/packaging/release-rsync index b0c9f456..50c940a5 100755 --- a/packaging/release-rsync +++ b/packaging/release-rsync @@ -151,7 +151,8 @@ $_ = ; (my $finalversion = $version) =~ s/pre\d+//; my %specvars = ( 'Version:' => $finalversion, 'Release:' => $release, - '%define fullversion' => "\%{version}$pre", 'Released' => "$version." ); + '%define fullversion' => "\%{version}$pre", 'Released' => "$version.", + '%define srcdir' => $srcdir ); my @tweak_files = ( glob('packaging/*.spec'), glob('packaging/*/*.spec'), glob('*.yo'), qw( configure.in rsync.h NEWS OLDNEWS options.c ) ); @@ -231,11 +232,11 @@ my $ans = ; system "git commit -a -m 'Preparing for release of $version'" and exit 1; print "Updating files in \"patches\" dir ...\n"; -system "support/patch-update"; +system "packaging/patch-update"; if ($ans =~ /^y/i) { print "\nVisiting all \"patch/*\" branches ...\n"; - system "support/patch-update --shell"; + system "packaging/patch-update --shell"; } print $break, <