[Reproducible-commits] [dpkg] 36/90: Dpkg::Source::Package::V2: Make the BinaryFiles package self-contained
Jérémy Bobbio
lunar at moszumanska.debian.org
Sat Aug 29 18:26:12 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/reproducible_builds
in repository dpkg.
commit 3f7960bca703219e89016af0d583288ffc928446
Author: Guillem Jover <guillem at debian.org>
Date: Thu Jun 25 18:57:51 2015 +0200
Dpkg::Source::Package::V2: Make the BinaryFiles package self-contained
Explicitly import File::Spec, to avoid relying on the other imports in
the same file.
---
debian/changelog | 2 ++
scripts/Dpkg/Source/Package/V2.pm | 1 +
2 files changed, 3 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 1111225..c72cee9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,8 @@ dpkg (1.18.2) UNRELEASED; urgency=low
- Allow the Maintainer field in CTRL_FILE_STATUS.
- Import make_path from File::Path in Dpkg::Source::Package::V2.
Regression introduced in dpkg 1.18.0. Closes: #789957
+ - Make the BinaryFiles subpackage self-contained by explicitly importing
+ File::Spec in Dpkg::Source::Package::V2.
* Documentation:
- Fix grammar in dpkg-architecture(1).
Thanks to Chris Lamb <lamby at debian.org>. Closes: #787616
diff --git a/scripts/Dpkg/Source/Package/V2.pm b/scripts/Dpkg/Source/Package/V2.pm
index 670a472..741d0de 100644
--- a/scripts/Dpkg/Source/Package/V2.pm
+++ b/scripts/Dpkg/Source/Package/V2.pm
@@ -695,6 +695,7 @@ use Dpkg::ErrorHandling;
use Dpkg::Gettext;
use File::Path qw(make_path);
+use File::Spec;
sub new {
my ($this, $dir) = @_;
--
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