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

gregoa pushed a commit to branch master
in repository libterm-size-perl-perl.

commit 37a2fd75c0268684a3d715a64ea8c568a8bd2a85
Author: gregor herrmann <gre...@debian.org>
Date:   Thu Dec 31 01:39:58 2015 +0100

    Install Term::Size::Perl::Params into $Config{vendorarch}.
    
    It is created during build and contains arch-specific constants.
    
    Closes: #809398
---
 debian/compat                                   |  2 +-
 debian/control                                  |  2 +-
 debian/libterm-size-perl-perl.lintian-overrides |  2 +-
 debian/rules                                    | 12 ++++++++++++
 4 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/debian/compat b/debian/compat
index 45a4fb7..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-8
+9
diff --git a/debian/control b/debian/control
index 3db4fc0..422f2d7 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: perl
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
 Uploaders: Florian Schlichting <f...@debian.org>
-Build-Depends: debhelper (>= 8),
+Build-Depends: debhelper (>= 9.20140809~),
                libtest-pod-perl,
                perl
 Standards-Version: 3.9.6
diff --git a/debian/libterm-size-perl-perl.lintian-overrides 
b/debian/libterm-size-perl-perl.lintian-overrides
index 8b91fb5..7f1401d 100644
--- a/debian/libterm-size-perl-perl.lintian-overrides
+++ b/debian/libterm-size-perl-perl.lintian-overrides
@@ -1,4 +1,4 @@
 # inc/Probe.pm queries system header files for values to put into
 # Term::Size::Perl::Params during build. These values are not the same
 # accross all architectures supported by Debian (e.g. linux vs kfreebsd).
-libterm-size-perl-perl: package-contains-no-arch-dependent-files
+libterm-size-perl-perl: package-installs-nonbinary-perl-in-usr-lib-perl5 
usr/lib/*/Term/Size/Perl/Params.pm
diff --git a/debian/rules b/debian/rules
index 2d33f6a..cebaf0c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,16 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
+ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
+
 %:
        dh $@
+
+override_dh_auto_install:
+       dh_auto_install
+       # contains arch-specific constants
+       mkdir -p $(TMP)/$(ARCHLIB)/Term/Size/Perl
+       mv -v $(TMP)/usr/share/perl5/Term/Size/Perl/Params.pm 
$(TMP)/$(ARCHLIB)/Term/Size/Perl
+       rmdir --ignore-fail-on-non-empty --parents --verbose 
$(TMP)/usr/share/perl5/Term/Size/Perl

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libterm-size-perl-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to