Browse Source

Dpkg::Source::Package::V3::Quilt: Clarify missing revision error

Closes: #719348, #733746
Guillem Jover 12 years ago
parent
commit
c77ecff725
2 changed files with 4 additions and 1 deletions
  1. 2 0
      debian/changelog
  2. 2 1
      scripts/Dpkg/Source/Package/V3/Quilt.pm

+ 2 - 0
debian/changelog

@@ -32,6 +32,8 @@ dpkg (1.17.6) UNRELEASED; urgency=low
   * Add shell hooks support to dpkg-buildpackage, based on the debuild
     implementation in devscripts 2.13.9. Closes: #476221
   * Add support for Testsuite source field.
+  * Clarify error message about missing revision in non-native source package.
+    Closes: #719348, #733746
 
   [ Updated dpkg translations ]
   * Swedish (Peter Krefting).

+ 2 - 1
scripts/Dpkg/Source/Package/V3/Quilt.pm

@@ -76,7 +76,8 @@ sub can_build {
     return ($code, $msg) if $code == 0;
 
     my $v = Dpkg::Version->new($self->{fields}->{'Version'});
-    return (0, _g('version does not contain a revision')) if $v->is_native();
+    return (0, _g('non-native package version does not contain a revision'))
+        if $v->is_native();
 
     my $quilt = $self->build_quilt_object($dir);
     $msg = $quilt->find_problems();