[libspreadsheet-read-perl] 06/14: Replace patch with override in debian/rules.

gregor herrmann gregoa at debian.org
Tue Oct 27 21:16:47 UTC 2015


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

gregoa pushed a commit to branch master
in repository libspreadsheet-read-perl.

commit 74c73e536c121a172f3781cbb5354ec031a8afe0
Author: gregor herrmann <gregoa at debian.org>
Date:   Tue Oct 27 21:54:00 2015 +0100

    Replace patch with override in debian/rules.
---
 debian/patches/interpreter.patch | 15 ---------------
 debian/patches/series            |  1 -
 debian/rules                     |  5 ++++-
 3 files changed, 4 insertions(+), 17 deletions(-)

diff --git a/debian/patches/interpreter.patch b/debian/patches/interpreter.patch
deleted file mode 100644
index 68aeecb..0000000
--- a/debian/patches/interpreter.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Description: fix path
-Forwarded: not-needed
-Origin: vendor
-Author: gregor herrmann <gregoa at debian.org>
-Reviewed-by: Nicholas Bamber <nicholas at periapt.co.uk>
-Last-Update: 2010-10-12
-
---- a/Read.pm
-+++ b/Read.pm
-@@ -1,4 +1,4 @@
--#!/pro/bin/perl
-+#!/usr/bin/perl
- 
- package Spreadsheet::Read;
- 
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index b704caa..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-interpreter.patch
diff --git a/debian/rules b/debian/rules
index f844683..fc85959 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,7 +13,10 @@ override_dh_auto_configure:
 override_dh_auto_test:
 	AUTOMATED_TESTING=1 dh_auto_test
 
+override_dh_auto_install:
+	dh_auto_install
+	sed -i '1s|^#!/pro/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/share/perl5/Spreadsheet/Read.pm
+
 override_dh_installexamples:
 	dh_installexamples
 	sed -i '1s|^#!/pro/bin/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/libspreadsheet-read-perl.git



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