The following commit has been merged in the master branch:
commit e84af61e1f8910ede863d4268e57954f47b50c43
Author: Christoph Berg <[email protected]>
Date: Tue Aug 14 23:07:44 2012 +0200
Invoking origtargz on native package is not an error, just print a notice
diff --git a/scripts/origtargz.pl b/scripts/origtargz.pl
index f25b12a..060a7b5 100755
--- a/scripts/origtargz.pl
+++ b/scripts/origtargz.pl
@@ -150,8 +150,10 @@ unless ($line =~ /^(\S+) \((\S+)\)/) {
die "could not parse debian/changelog:1: $line";
}
($package, $version) = ($1, $2);
-die "Version $version contains no dash, unable to download orig.tar.* file for
native packages\n"
- unless ($version =~ /-/);
+unless ($version =~ /-/) {
+ print "Package with native version number $version, skipping orig.tar.*
download\n";
+ exit 0;
+}
$origversion = $version;
$origversion =~ s/(.*)-.*/$1/; # strip everything from the last dash
$fileversion = $origversion;
--
Git repository for devscripts
_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel