[tomcat8] 06/14: Version mangling for the release candidates (x.y.z~RCn -> x.y.z-RCn)

Emmanuel Bourg ebourg-guest at alioth.debian.org
Fri Sep 13 16:05:00 UTC 2013


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

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

commit 894e38077164f7151aefcd9d9036b6d272a57293
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri Sep 13 14:23:19 2013 +0200

    Version mangling for the release candidates (x.y.z~RCn -> x.y.z-RCn)
---
 debian/rules |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 481e181..695e26f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,7 +18,7 @@ DEB_CLASSPATH = $(shell for jar in $(DEB_JARS); do \
 		echo -n "$(JAVA_HOME)/lib/tools.jar"; fi)
 
 T_VER := $(shell dpkg-parsechangelog | egrep '^Version:' \
-	| cut -f 2 -d ' ' | cut -f 2 -d ' '|sed 's/-[^-]*$$//')
+	| cut -f 2 -d ' ' | cut -f 2 -d ' ' | sed 's/-[^-]*$$//' | sed 's/~/-/')
 T_JARS := tomcat-i18n-fr tomcat-i18n-es tomcat-i18n-ja catalina-ant
 T_MAVENIZED_JARS := jasper-el annotations-api jasper catalina-ha catalina 
 T_VER_MAJOR := $(shell echo $(T_VER) | cut -d'.' -f1)

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



More information about the pkg-java-commits mailing list