[SCM] Debian packaging of libxml-xslt-perl branch, master, updated. 4dff7337fe462238e8353241925824e3e7628b94
Xavier Guimard
x.guimard at free.fr
Mon Apr 1 07:06:52 UTC 2013
The following commit has been merged in the master branch:
commit c570218626ea9a50f368183e4e3f2218ee246afe
Author: Xavier Guimard <x.guimard at free.fr>
Date: Mon Apr 1 08:28:22 2013 +0200
Replace wrong-interperter patch by an override
diff --git a/debian/patches/wrong-path-for-interpreter.patch b/debian/patches/wrong-path-for-interpreter.patch
deleted file mode 100644
index 84a8273..0000000
--- a/debian/patches/wrong-path-for-interpreter.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Description: Adapt interpreter path
-Author: Xavier Guimard <x.guimard at free.fr>
-Forwarded: not-needed
-Last-Update: 2013-03-31
-
---- a/xslt-parser
-+++ b/xslt-parser
-@@ -1,4 +1,4 @@
--#!/usr/local/bin/perl -w
-+#!/usr/bin/perl -w
-
- # $Id: xslt-parser,v 1.9 2001/03/01 05:22:45 hexmode Exp $
-
diff --git a/debian/rules b/debian/rules
index cbe925d..552ae8e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,12 @@
#!/usr/bin/make -f
+
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
%:
dh $@
+
+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|'
--
Debian packaging of libxml-xslt-perl
More information about the Pkg-perl-cvs-commits
mailing list