[libdata-stag-perl] 01/10: Use (file-)rename instead of (p)rename.

gregor herrmann gregoa at debian.org
Sun May 29 22:09:56 UTC 2016


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

gregoa pushed a commit to branch master
in repository libdata-stag-perl.

commit 6bee939bbd68c8bc5754765cc3deb7a16b5baa68
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun May 29 23:54:36 2016 +0200

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

diff --git a/debian/control b/debian/control
index 61a6660..aec93c3 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,8 @@ Priority: optional
 Build-Depends: debhelper (>= 8)
 Build-Depends-Indep: perl,
                      libio-string-perl,
-                     libxml-perl
+                     libxml-perl,
+                     rename
 Standards-Version: 3.9.6
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libdata-stag-perl.git
 Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libdata-stag-perl.git
diff --git a/debian/rules b/debian/rules
index a1629fb..fa8ccef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,5 +8,5 @@ TMP = $(CURDIR)/debian/$(PKG)
 
 override_dh_auto_install:
 	dh_auto_install
-	prename 's/\.pl//' $(TMP)/usr/bin/*
-	prename 's/\.pl//' $(TMP)/usr/share/man/man1/*1p*
+	file-rename 's/\.pl//' $(TMP)/usr/bin/*
+	file-rename 's/\.pl//' $(TMP)/usr/share/man/man1/*1p*

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



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