[Reproducible-commits] [dpkg] 67/105: Dpkg::Source::Package: Use GnuPG instead of gpg to refer to the software

Niko Tyni ntyni at moszumanska.debian.org
Mon May 2 13:49:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

ntyni pushed a commit to branch ntyni/reproducible_builds
in repository dpkg.

commit 3cf9613ae1ccd2a3aea9738055946da8eae7f505
Author: Guillem Jover <guillem at debian.org>
Date:   Sat Apr 2 01:33:06 2016 +0200

    Dpkg::Source::Package: Use GnuPG instead of gpg to refer to the software
    
    The message is confusing as it refers to the command, but we might use
    gpg2, also the message talks about the command not being installed when
    in this context it would be expected a package. Instead use the software
    name GnuPG.
---
 debian/changelog               | 2 ++
 scripts/Dpkg/Source/Package.pm | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2c3ffd2..1c55556 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -91,6 +91,8 @@ dpkg (1.18.5) UNRELEASED; urgency=medium
     - Do not parse entry multiple times in Dpkg::Changelog::Entry::Debian.
       Add new parse_header() and parse_trailer() methods, and deprecate
       check_header() and check_trailer() ones.
+    - Use “GnuPG” instead of “gpg” in error messages to refer to the software
+      in Dpkg::Source::Package.
   * Build system:
     - Fix building development documentation.
     - Remove unused UA_LIBS variable.
diff --git a/scripts/Dpkg/Source/Package.pm b/scripts/Dpkg/Source/Package.pm
index 9abe444..f562a5b 100644
--- a/scripts/Dpkg/Source/Package.pm
+++ b/scripts/Dpkg/Source/Package.pm
@@ -445,9 +445,9 @@ sub check_signature {
         }
     } else {
         if ($self->{options}{require_valid_signature}) {
-            error(g_("could not verify signature on %s since gpg isn't installed"), $dsc);
+            error(g_('cannot verify signature on %s since GnuPG is not installed'), $dsc);
         } else {
-            warning(g_("could not verify signature on %s since gpg isn't installed"), $dsc);
+            warning(g_('cannot verify signature on %s since GnuPG is not installed'), $dsc);
         }
     }
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list