[libgnome2-canvas-perl] 01/08: Use (file-)rename instead of (p)rename.

gregor herrmann gregoa at debian.org
Mon May 30 17:15:58 UTC 2016


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

gregoa pushed a commit to branch master
in repository libgnome2-canvas-perl.

commit fa3d4e0f1790f0e4718c311cb0c23b8d63bc823e
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon May 30 19:03:54 2016 +0200

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

diff --git a/debian/control b/debian/control
index b5ffe57..3caeebd 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,8 @@ Build-Depends: debhelper (>= 9.20120312~),
                libextutils-pkgconfig-perl,
                libglib-perl,
                libgtk2-perl,
-               libgnomecanvas2-dev
+               libgnomecanvas2-dev,
+               rename
 Standards-Version: 3.9.5
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libgnome2-canvas-perl.git
 Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libgnome2-canvas-perl.git
diff --git a/debian/rules b/debian/rules
index d518f02..290500e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,5 +9,5 @@ TMP     = $(CURDIR)/debian/$(PACKAGE)
 override_dh_installexamples:
 	dh_installexamples
 	rm "$(TMP)/usr/share/doc/libgnome2-canvas-perl/examples/ENTRYPOINT_IS_canvas.pl"
-	rename -v 's/examples\/canvas-(.+).pl$$/examples\/canvas-$$1.pm/' $(TMP)/usr/share/doc/libgnome2-canvas-perl/examples/*
+	file-rename -v 's/examples\/canvas-(.+).pl$$/examples\/canvas-$$1.pm/' $(TMP)/usr/share/doc/libgnome2-canvas-perl/examples/*
 	chmod +x $(TMP)/usr/share/doc/libgnome2-canvas-perl/examples/canvas.pl

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



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