[libfile-mmagic-xs-perl] 08/09: Add patch to disable maintainer check during package build.
gregor herrmann
gregoa at debian.org
Tue May 6 17:10:44 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libfile-mmagic-xs-perl.
commit a53d56b099794b0c4bb5f4630be512c8a209f644
Author: gregor herrmann <gregoa at debian.org>
Date: Tue May 6 19:06:53 2014 +0200
Add patch to disable maintainer check during package build.
---
debian/patches/debian-build.patch | 15 +++++++++++++++
debian/patches/series | 1 +
2 files changed, 16 insertions(+)
diff --git a/debian/patches/debian-build.patch b/debian/patches/debian-build.patch
new file mode 100644
index 0000000..54f396b
--- /dev/null
+++ b/debian/patches/debian-build.patch
@@ -0,0 +1,15 @@
+Description: disable maintainer check during package build
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2014-05-06
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,5 +1,5 @@
+ BEGIN {
+- if (-e ".git") {
++ if (-e ".git" && ! $ENV{DEB_HOST_ARCH}) {
+ my $errors = 0;
+ foreach my $module (qw(Module::Install Module::Install::AuthorTests Module::Install::Repository Module::Install::XSUtil)) {
+ eval "require $module";
diff --git a/debian/patches/series b/debian/patches/series
index a8ab736..96ef829 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
format_string_fix.diff
+debian-build.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libfile-mmagic-xs-perl.git
More information about the Pkg-perl-cvs-commits
mailing list