From cb1a0b08e4a3bb4ea648c7c075a2e8228c40b2ad Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 19 Jul 2005 18:25:53 +0000 Subject: [PATCH] releasing version 8.54 --- alien.pl | 14 +++++++++++--- debian/changelog | 6 ++++++ 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/alien.pl b/alien.pl index c3b372b..31a6a6b 100755 --- a/alien.pl +++ b/alien.pl @@ -178,6 +178,11 @@ lintian's output displayed. By default, B adds one to the minor version number of each package it converts. If this option is given, B will not do this. +=item B<--bump=>I + +Instead of incrementing the version number of the converted package by 1, +increment it by the given number. + =item B<--fixperms> Sanitize all file owners and permissions when building a deb. This may be @@ -334,6 +339,7 @@ Usage: alien [options] file [...] -v, --verbose Display each command alien runs. --veryverbose Be verbose, and also display output of run commands. -k, --keep-version Do not change version of generated package. + --bump=number Increment package version by this number. -h, --help Display this help message. -V, --version Display alien's version number. @@ -343,8 +349,9 @@ EOF # Start by processing the parameters. my (%destformats, $generate, $install, $single, $scripts, $patchfile, - $nopatch, $tgzdescription, $tgzversion, $keepversion, $fixperms, $test, - $anypatch); + $nopatch, $tgzdescription, $tgzversion, $keepversion, $fixperms, + $test, $anypatch); +my $versionbump=1; # Bundling is nice anyway, and it is required or Getopt::Long will confuse # -T and -t. @@ -371,6 +378,7 @@ GetOptions( "verbose|v" => \$Alien::Package::verbose, "veryverbose" => sub { $Alien::Package::verbose=2 }, "keep-version|k" => \$keepversion, + "bump=s" => \$versionbump, "fixperms" => \$fixperms, "help|h" => \&usage, ) || usage(); @@ -449,7 +457,7 @@ foreach my $file (@ARGV) { # Increment release. unless (defined $keepversion) { $^W=0; # Shut of possible "is not numeric" warning. - $package->release($package->release + 1); + $package->release($package->release + $versionbump); $^W=1; # Re-enable warnings. } diff --git a/debian/changelog b/debian/changelog index 2a4f9fb..3715de6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +alien (8.54) unstable; urgency=low + + * Patch from Alexander Jolk adding a --bump option. Closes: #311681 + + -- Joey Hess Tue, 19 Jul 2005 14:20:31 -0400 + alien (8.53) unstable; urgency=low * Build packages using debhelper v4 mode.