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

mestre-guest pushed a commit to branch master
in repository libbusiness-isbn-perl.

commit aa3439e41c0acd9cbd5cf5a24c7106742e800646
Author: Nuno Carvalho <sm...@cpan.org>
Date:   Thu Oct 6 17:42:00 2016 +0100

    Fix d/rules hashbang update
---
 debian/changelog                                |  1 -
 debian/patches/01-update-interpreter-path.patch | 13 -------------
 debian/patches/series                           |  1 -
 debian/rules                                    |  7 +++++++
 4 files changed, 7 insertions(+), 15 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c1fe373..4bdd336 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,7 +15,6 @@ libbusiness-isbn-perl (3.003-1) unstable; urgency=medium
   * debian/rules: simplify file, no longer required to skip tests.
   * debian/tests/pkg-perl/smoke-skip: drop file, no longer required to skip
     tests.
-  * Add patch to update example's perl interpreter path.
 
  -- Nuno Carvalho <sm...@cpan.org>  Thu, 06 Oct 2016 17:22:16 +0100
 
diff --git a/debian/patches/01-update-interpreter-path.patch 
b/debian/patches/01-update-interpreter-path.patch
deleted file mode 100644
index a95a708..0000000
--- a/debian/patches/01-update-interpreter-path.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Description: update script perl interpreter to full path
-Forwarded: not-needed
-Author: Nuno Carvalho <sm...@cpan.org>
-Last-Update: 2016-10-06
-
---- a/examples/private_group_code.pl
-+++ b/examples/private_group_code.pl
-@@ -1,4 +1,4 @@
--#!perl
-+#!/usr/bin/perl
- use v5.22;
- use feature qw(refaliasing signatures postderef);
- no warnings map { "experimental::$_" } qw(refaliasing signatures postderef);
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 22ca1de..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-01-update-interpreter-path.patch
diff --git a/debian/rules b/debian/rules
index 2d33f6a..fbbef32 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,11 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
        dh $@
+
+override_dh_installexamples:
+       dh_installexamples
+       sed -i '1s|^#!perl|#!/usr/bin/perl|' 
$(TMP)/usr/share/doc/$(PACKAGE)/examples/*

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libbusiness-isbn-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