[libtext-ngrams-perl] 01/04: Use (file-)rename instead of (p)rename.

gregor herrmann gregoa at debian.org
Sat Jun 4 21:18:49 UTC 2016


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

gregoa pushed a commit to branch master
in repository libtext-ngrams-perl.

commit 69e13af534902863c21f92add2e1eacc8ea9800b
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jun 4 23:14:34 2016 +0200

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

diff --git a/debian/control b/debian/control
index e493daa..090270a 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,8 @@ Source: libtext-ngrams-perl
 Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 9),
-               perl
+               perl,
+               rename
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Harlan Lieberman-Berg <H.LiebermanBerg at gmail.com>
 Standards-Version: 3.9.6
diff --git a/debian/rules b/debian/rules
index fa43a30..697ab79 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,6 @@ TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 override_dh_auto_install:
 	dh_auto_install
-	rename -v 's/\.pl//' $(TMP)/usr/bin/*.pl
-	rename -v 's/\.pl//' $(TMP)/usr/share/man/man1/*
-	rm $(TMP)/usr/share/perl5/Text/ngrams.pl
\ No newline at end of file
+	file-rename -v 's/\.pl//' $(TMP)/usr/bin/*.pl
+	file-rename -v 's/\.pl//' $(TMP)/usr/share/man/man1/*
+	rm $(TMP)/usr/share/perl5/Text/ngrams.pl

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



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