[libdbix-dbstag-perl] 01/07: Use (file-)rename instead of (p)rename.
gregor herrmann
gregoa at debian.org
Sun May 29 22:24:52 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libdbix-dbstag-perl.
commit f055085c9c7bee230f9d52ffb4b4692b351e6af6
Author: gregor herrmann <gregoa at debian.org>
Date: Mon May 30 00:11:33 2016 +0200
Use (file-)rename instead of (p)rename.
Closes: #825435
---
debian/control | 3 ++-
debian/rules | 10 +++++-----
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/debian/control b/debian/control
index 9b6f615..2162a0a 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,8 @@ Build-Depends-Indep: perl,
libdbi-perl,
libdbix-dbschema-perl,
libparse-recdescent-perl,
- libxml-perl
+ libxml-perl,
+ rename
Standards-Version: 3.9.2
Homepage: https://metacpan.org/release/DBIx-DBStag
Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libdbix-dbstag-perl.git
diff --git a/debian/rules b/debian/rules
index 4c9c0e6..e9861fb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,11 +8,11 @@ override_dh_auto_test:
override_dh_auto_install:
dh_auto_install
- rename 's/selectall/stag-selectall/' debian/libdbix-dbstag-perl/usr/bin/*
- rename 's/selectall/stag-selectall/' debian/libdbix-dbstag-perl/usr/share/man/man1/*
- rename 's/\.pl//' debian/libdbix-dbstag-perl/usr/share/man/man1/*.pl.1p
- rename 's/ubiq/stag-ubiq/' debian/libdbix-dbstag-perl/usr/bin/*
- rename 's/\.pl//' debian/libdbix-dbstag-perl/usr/bin/*.pl
+ file-rename 's/selectall/stag-selectall/' debian/libdbix-dbstag-perl/usr/bin/*
+ file-rename 's/selectall/stag-selectall/' debian/libdbix-dbstag-perl/usr/share/man/man1/*
+ file-rename 's/\.pl//' debian/libdbix-dbstag-perl/usr/share/man/man1/*.pl.1p
+ file-rename 's/ubiq/stag-ubiq/' debian/libdbix-dbstag-perl/usr/bin/*
+ file-rename 's/\.pl//' debian/libdbix-dbstag-perl/usr/bin/*.pl
sed -i 's/ubiq\.cgi/stag-ubiq/g' debian/libdbix-dbstag-perl/usr/bin/stag-ubiq.cgi
rm -f debian/libdbix-dbstag-perl/usr/bin/*.cgi
# Script not useful as template2scripts not embedded per makefile
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdbix-dbstag-perl.git
More information about the Pkg-perl-cvs-commits
mailing list