[pkg-java] r3600 - trunk/maven2/debian
paulcager-guest at alioth.debian.org
paulcager-guest at alioth.debian.org
Wed Jun 6 09:45:18 UTC 2007
Author: paulcager-guest
Date: 2007-06-06 09:45:18 +0000 (Wed, 06 Jun 2007)
New Revision: 3600
Modified:
trunk/maven2/debian/rules
Log:
Version number
Modified: trunk/maven2/debian/rules
===================================================================
--- trunk/maven2/debian/rules 2007-06-06 09:12:21 UTC (rev 3599)
+++ trunk/maven2/debian/rules 2007-06-06 09:45:18 UTC (rev 3600)
@@ -5,7 +5,7 @@
include /usr/share/cdbs/1/rules/simple-patchsys.mk
PACKAGE := $(shell dpkg-parsechangelog | egrep '^Source:' | cut -f2 -d' ')
-VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | sed 's/Version: \(.*\)-.*/\1/')
+VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f2 -d' ' | sed 's/-[0-9\.]*$$//')
JAVA_HOME := /usr/lib/jvm/java-gcj
ANT_HOME := /usr/share/ant
DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar $(ANT_HOME)/lib/ant-trax.jar \
@@ -28,8 +28,8 @@
echo "Getting version $(VERSION) from $(SVN)"
mkdir orig_tmp
cd orig_tmp && \
- svn export -q $(SVN) $(PACKAGE) && \
- tar czf ../../$(PACKAGE)_$(VERSION).orig.tar.gz $(PACKAGE)
+ svn export -q $(SVN) maven && \
+ tar czf ../../$(PACKAGE)_$(VERSION).orig.tar.gz maven
rm -rf orig_tmp
binary-post-install/$(PACKAGE)::
More information about the pkg-java-commits
mailing list