summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2019-11-05 12:59:17 +0100
committerGuillem Jover <guillem@debian.org>2019-11-26 02:42:46 +0100
commit89afa9af7cd589eb8384ed96b6d86dd59d56bdf5 (patch)
treed5dbca5ff18a9e627ee5ccb39ca386621966ab24
parent2eafcd122aa4e772cd6bb40c3eb82ac27aff3646 (diff)
downloaddpkg-89afa9af7cd589eb8384ed96b6d86dd59d56bdf5.tar.gz
Dpkg::Source::Package::V3::Native: Do not say v1.0 for 3.0 formats
-rw-r--r--debian/changelog1
-rw-r--r--scripts/Dpkg/Source/Package/V3/Native.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 3874bc4e1..b3a0fbe91 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -74,6 +74,7 @@ dpkg (1.20.0) UNRELEASED; urgency=medium
- Dpkg::Exit: Unregister all signal handlers once we have executed them.
Closes: #932841
- Dpkg::Exit: Register exit handlers also for __DIE__.
+ - Dpkg::Source::Package::V3::Native: Do not say v1.0 for 3.0 formats.
* Documentation:
- man: Fix uncommon wording constructs.
- man: Use a minus sign for a literal string.
diff --git a/scripts/Dpkg/Source/Package/V3/Native.pm b/scripts/Dpkg/Source/Package/V3/Native.pm
index b53a30f3f..1d0de2b0f 100644
--- a/scripts/Dpkg/Source/Package/V3/Native.pm
+++ b/scripts/Dpkg/Source/Package/V3/Native.pm
@@ -49,7 +49,7 @@ sub do_extract {
my $comp_ext_regex = compression_get_file_extension_regex();
foreach my $file ($self->get_files()) {
if ($file =~ /^\Q$basenamerev\E\.tar\.$comp_ext_regex$/) {
- error(g_('multiple tarfiles in v1.0 source package')) if $tarfile;
+ error(g_('multiple tarfiles in native source package')) if $tarfile;
$tarfile = $file;
} else {
error(g_('unrecognized file for a native source package: %s'), $file);