[libcam-pdf-perl] 01/07: Use (file-)rename instead of (p)rename.

gregor herrmann gregoa at debian.org
Sun May 29 21:53:06 UTC 2016


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

gregoa pushed a commit to branch master
in repository libcam-pdf-perl.

commit 090be1e53e6424656c658479db2f82daad47c38e
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun May 29 23:41:24 2016 +0200

    Use (file-)rename instead of (p)rename.
    
    Closes: #825433
---
 debian/control | 1 +
 debian/rules   | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 381c3c0..1f740c8 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Build-Depends: debhelper (>= 8),
                libmodule-build-perl (>= 0.400000)
 Build-Depends-Indep: libcrypt-rc4-perl,
                      libtext-pdf-perl,
+                     rename,
                      perl
 Standards-Version: 3.9.6
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libcam-pdf-perl.git
diff --git a/debian/rules b/debian/rules
index a3dc27e..03610a1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,9 +11,9 @@ override_dh_auto_install:
 	# Remove asciify, unnecessary script written for tcsh
 	rm -f $(TMP)/usr/bin/asciify
 	# Change scripts.pl to script
-	prename 's/\.pl//' $(TMP)/usr/bin/*.pl $(TMP)/usr/share/man/man1/*.pl*
+	file-rename 's/\.pl//' $(TMP)/usr/bin/*.pl $(TMP)/usr/share/man/man1/*.pl*
 	# Rename pdfinfo into pdfinfo.cam-pdf
-	prename 's/pdfinfo/pdfinfo.cam-pdf/' $(TMP)/usr/bin/pdfinfo $(TMP)/usr/share/man/man1/pdfinfo*
+	file-rename 's/pdfinfo/pdfinfo.cam-pdf/' $(TMP)/usr/bin/pdfinfo $(TMP)/usr/share/man/man1/pdfinfo*
 	# Same change inside manpages
 	perl -i -pe 'BEGIN{$$i=join("|",split(/\s+/,"'"$$(ls $(TMP)/usr/bin)"'"));} \
 		s/($$i)\.pl/$$1/g; \

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



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