[libauthen-sasl-cyrus-perl] 01/03: debian/rules: update override_dh_fixperms to use vendorarch dir
gregor herrmann
gregoa at debian.org
Mon Jun 2 18:16:21 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libauthen-sasl-cyrus-perl.
commit 00cf4312d3916192432ce4d4b0407b66a83858e7
Author: gregor herrmann <gregoa at debian.org>
Date: Mon Jun 2 20:13:51 2014 +0200
debian/rules: update override_dh_fixperms to use vendorarch dir
as a preparation for multi-arched perl 5.20.
---
debian/rules | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 703b34d..0cceb04 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,9 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
# Set the user environment variable required by the test suite.
export USER=testuser
+# Get vendorarch path
+ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
+
PACKAGE := $(shell dh_listpackages)
override_dh_auto_configure:
@@ -15,7 +18,7 @@ override_dh_auto_test:
dh_auto_test
override_dh_fixperms:
- chmod 644 debian/$(PACKAGE)/usr/lib/perl5/Authen/SASL/Cyrus.pod
+ chmod 644 debian/$(PACKAGE)$(ARCHLIB)/Authen/SASL/Cyrus.pod
dh_fixperms
%:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libauthen-sasl-cyrus-perl.git
More information about the Pkg-perl-cvs-commits
mailing list