This is an automated email from the git hooks/post-receive script. nomeata pushed a commit to branch master in repository devscripts.
commit f452635cb60a7916c09069f34064124a02683ede Author: Joachim Breitner <[email protected]> Date: Mon May 12 23:43:15 2014 +0200 Avoid Dpkg::Version::is_native which is not present in dpkg-dev < 1.17, which is what we have in stable or in Ubuntu 13.10. --- scripts/mk-origtargz.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/mk-origtargz.pl b/scripts/mk-origtargz.pl index 265e660..112ea93 100755 --- a/scripts/mk-origtargz.pl +++ b/scripts/mk-origtargz.pl @@ -240,7 +240,9 @@ unless (defined $package) { # get version number unless (defined $version) { my $debversion = Dpkg::Version->new($entry->get_version()); - if ($debversion->is_native()) { + # In the following line, use $debversion->is_native() as soon as + # we need to depend on dpkg-dev >= 1.17.0 anyways + if ($debversion->{no_revision}) { print "Package with native version number $debversion; mk-origtargz makes no sense for native packages.\n"; exit 0; } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git _______________________________________________ devscripts-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel
