r49262 - in /trunk/libemail-send-perl/debian: changelog control patches/fix_examples_wrong_interpreter_path.patch patches/series rules
carnil-guest at users.alioth.debian.org
carnil-guest at users.alioth.debian.org
Wed Dec 23 15:27:54 UTC 2009
Author: carnil-guest
Date: Wed Dec 23 15:27:34 2009
New Revision: 49262
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=49262
Log:
debian/rules: Fix shebang for perl interpreter in example script to
/usr/bin/perl via override target for dh_installexamples.
Removed:
trunk/libemail-send-perl/debian/patches/fix_examples_wrong_interpreter_path.patch
Modified:
trunk/libemail-send-perl/debian/changelog
trunk/libemail-send-perl/debian/control
trunk/libemail-send-perl/debian/patches/series
trunk/libemail-send-perl/debian/rules
Modified: trunk/libemail-send-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-send-perl/debian/changelog?rev=49262&op=diff
==============================================================================
--- trunk/libemail-send-perl/debian/changelog (original)
+++ trunk/libemail-send-perl/debian/changelog Wed Dec 23 15:27:34 2009
@@ -5,10 +5,10 @@
modules.
[ Salvatore Bonaccorso ]
- * Add fix_examples_wrong_interpreter_path.patch patch to fix path to perl
- interpreter in example script.
-
- -- Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com> Wed, 23 Dec 2009 11:38:33 +0100
+ * debian/rules: Fix shebang for perl interpreter in example script to
+ /usr/bin/perl via override target for dh_installexamples.
+
+ -- Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com> Wed, 23 Dec 2009 16:25:45 +0100
libemail-send-perl (2.198-1) unstable; urgency=low
Modified: trunk/libemail-send-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-send-perl/debian/control?rev=49262&op=diff
==============================================================================
--- trunk/libemail-send-perl/debian/control (original)
+++ trunk/libemail-send-perl/debian/control Wed Dec 23 15:27:34 2009
@@ -1,7 +1,7 @@
Source: libemail-send-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 7.0.8), quilt (>= 0.46-7)
+Build-Depends: debhelper (>= 7.0.50), quilt (>= 0.46-7)
Build-Depends-Indep: perl, perl (>= 5.10) | libmodule-pluggable-perl (>= 2.97),
libreturn-value-perl (>= 1.28), libemail-simple-perl (>= 1.92), libclass-accessor-perl,
libemail-address-perl (>= 1.80), libemail-abstract-perl,
Modified: trunk/libemail-send-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-send-perl/debian/patches/series?rev=49262&op=diff
==============================================================================
--- trunk/libemail-send-perl/debian/patches/series (original)
+++ trunk/libemail-send-perl/debian/patches/series Wed Dec 23 15:27:34 2009
@@ -1,2 +1,1 @@
add_usr_sbin_to_path
-fix_examples_wrong_interpreter_path.patch
Modified: trunk/libemail-send-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-send-perl/debian/rules?rev=49262&op=diff
==============================================================================
--- trunk/libemail-send-perl/debian/rules (original)
+++ trunk/libemail-send-perl/debian/rules Wed Dec 23 15:27:34 2009
@@ -1,4 +1,12 @@
#!/usr/bin/make -f
+
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
%:
dh --with quilt $@
+
+override_dh_installexamples:
+ dh_installexamples
+ find $(TMP)/usr/share/doc/$(PACKAGE)/examples -type f -print0 | \
+ xargs -r0 sed -i -e '1s|^#!/usr/local/bin/perl|#!/usr/bin/perl|'
More information about the Pkg-perl-cvs-commits
mailing list