[libnet-snmp-perl] 21/23: Use /usr/bin/perl instead of /bin/env perl in examples.

Roland Rosenfeld roland at moszumanska.debian.org
Mon Aug 21 20:44:01 UTC 2017


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

roland pushed a commit to branch master
in repository libnet-snmp-perl.

commit aadfa43782c9b35b5dc72d25f557962c66c26d14
Author: Roland Rosenfeld <roland at debian.org>
Date:   Mon Aug 21 22:10:20 2017 +0200

    Use /usr/bin/perl instead of /bin/env perl in examples.
---
 debian/changelog      | 5 ++---
 debian/patches/series | 1 -
 debian/rules          | 4 ++--
 3 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 78a5c64..8443947 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,12 +9,11 @@ libnet-snmp-perl (6.0.1-3) UNRELEASED; urgency=medium
   * New Standards-Version 4.0.1 (no changes).
   * Upgrade debhelper to v10.
   * Declare Testsuite: autopkgtest-pkg-perl.
-  * 02_example-interpreter: Use /usr/bin/perl instead of /bin/env perl in
-    examples
   * 03_spelling: Fix spelling error in man page.
   * Add Homepage.
+  * Use /usr/bin/perl instead of /bin/env perl in examples.
 
- -- Roland Rosenfeld <roland at debian.org>  Mon, 21 Aug 2017 21:58:47 +0200
+ -- Roland Rosenfeld <roland at debian.org>  Mon, 21 Aug 2017 22:10:11 +0200
 
 libnet-snmp-perl (6.0.1-2) unstable; urgency=low
 
diff --git a/debian/patches/series b/debian/patches/series
index 0c23291..c70764c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,2 @@
 01_replace_digest_sha1.patch
-02_example-interpreter.patch
 03_spelling.patch
diff --git a/debian/rules b/debian/rules
index 037f899..d49437f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,5 +7,5 @@ override_dh_auto_install:
 	dh_auto_install
 	dh_installdocs README
 	dh_installexamples examples/.
-	perl -pi -e 's!/usr/local/bin/perl!/usr/bin/perl!g;' \
-		debian/libnet-snmp-perl/usr/share/doc/libnet-snmp-perl/examples/*
+	perl -pi -e 's!/usr/local/bin/perl!/usr/bin/perl!g;s!/?/bin/env perl!/usr/bin/perl!g' \
+	   debian/libnet-snmp-perl/usr/share/doc/libnet-snmp-perl/examples/*

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



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