[lucene4.10] 19/24: Fixed setting VERSION in debian/rules

Hilko Bengen bengen at moszumanska.debian.org
Thu Feb 5 22:59:34 UTC 2015


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

bengen pushed a commit to branch master
in repository lucene4.10.

commit de541d46802bd8347e7e3ca7bedae1e0f649bcce
Author: Hilko Bengen <bengen at debian.org>
Date:   Sat Nov 8 15:50:42 2014 +0100

    Fixed setting VERSION in debian/rules
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index d41c703..3248c6d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 
 export DH_VERBOSE=1
 
-export VERSION=$(shell dpkg-parsechangelog -SVersion | sed -e 's,-.*,,' -e 's,+dfsg.*,,')
+export VERSION=$(shell dpkg-parsechangelog -SVersion | sed -e 's,^\(.*:\)*\(.*\)+dfsg-.*,\2,')
 export CLASSPATH=/usr/share/java/ivy.jar
 
 %:

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



More information about the pkg-java-commits mailing list