[libnet-idn-encode-perl] 04/06: a bit of cleanup in d/rules

Tamas Csillag cstamas-guest at alioth.debian.org
Sat Oct 5 22:04:15 UTC 2013


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

cstamas-guest pushed a commit to branch master
in repository libnet-idn-encode-perl.

commit e2a87375d4cc96941fea32c7a4db0b434a4bc8d7
Author: CSILLAG Tamas <cstamas at cstamas.hu>
Date:   Sat Oct 5 23:56:01 2013 +0200

    a bit of cleanup in d/rules
---
 debian/changelog |    1 +
 debian/rules     |   10 ++++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e74dc02..d840d9f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,7 @@ libnet-idn-encode-perl (2.004-1) unstable; urgency=low
   * increase stardands-version (no change)
   * depend on debhelper 9 for handening features
   * remove README
+  * a bit of cleanup in d/rules
 
  -- CSILLAG Tamas <cstamas at cstamas.hu>  Sat, 05 Oct 2013 23:10:01 +0200
 
diff --git a/debian/rules b/debian/rules
index 9a6fc6e..53c4e34 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,11 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
 
-override_dh_auto_install:
-	dh_auto_install
-	chmod -x debian/libnet-idn-encode-perl/usr/lib/perl5/Net/IDN/Standards.pod
-
+override_dh_fixperms:
+	dh_fixperms
+	chmod 644 $(TMP)/usr/lib/perl5/Net/IDN/Standards.pod

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-idn-encode-perl.git



More information about the Pkg-perl-cvs-commits mailing list