[clojure] 06/09: Use file-rename instead of prename

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Dec 22 14:35:29 UTC 2016


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

ebourg-guest pushed a commit to branch master
in repository clojure.

commit fa417da917ab60df3a6082ba913b7608d9d598cf
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Dec 22 15:09:25 2016 +0100

    Use file-rename instead of prename
---
 debian/changelog | 1 +
 debian/control   | 3 ++-
 debian/rules     | 4 ++--
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f07b426..66cc418 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ clojure1.6 (1.6.0+dfsg-3) UNRELEASED; urgency=medium
 
   * Team upload.
   * Build with the DH sequencer instead of CDBS
+  * Use file-rename instead of prename
   * Build the upstream tarball from the Git repository
   * Switch to debhelper level 10
   * Use secure Vcs-* URLs
diff --git a/debian/control b/debian/control
index 1247f06..e122bce 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,8 @@ Build-Depends:
  javahelper,
  libasm-java (>= 5.0),
  libtext-markdown-perl | markdown,
- maven-repo-helper
+ maven-repo-helper,
+ rename
 Standards-Version: 3.9.8
 Vcs-Git: https://anonscm.debian.org/git/pkg-java/clojure.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/clojure.git
diff --git a/debian/rules b/debian/rules
index 733ff9a..ebdd5e2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,8 +23,8 @@ override_dh_install:
 	dh_install
 
 	sed -i 's/@VER@/$(VER)/g' debian/$(SOURCE)/usr/bin/*
-	prename 's/$$/$(VER)/' debian/$(SOURCE)/usr/bin/*
-	prename 's/\.(.)$$/$(VER).$$1/' debian/$(SOURCE)/usr/share/man/*/*
+	file-rename 's/$$/$(VER)/' debian/$(SOURCE)/usr/bin/*
+	file-rename 's/\.(.)$$/$(VER).$$1/' debian/$(SOURCE)/usr/share/man/*/*
 	mh_installpom -p$(SOURCE) --no-parent pom.xml
 	mh_installjar -p$(SOURCE) -l -s pom.xml clojure.jar /usr/share/java/clojure-$(VER).jar
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/clojure.git



More information about the pkg-java-commits mailing list