[SCM] svnclientadapter packaging branch, master, updated. debian/0.9.100-2-20-g1fe9041

Jakub Adam jakub.adam at ktknet.cz
Fri Oct 12 21:22:04 UTC 2012


The following commit has been merged in the master branch:
commit 483e55bc167abd73d14f6194c4f72a65125888ed
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date:   Fri Jul 6 11:55:51 2012 +0200

    Use real version number during build

diff --git a/debian/changelog b/debian/changelog
index 5cda775..93dccb5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ svnclientadapter (1.8.13-1) UNRELEASED; urgency=low
   * Disable commandline SVN client wrapper.
     - Seems upstream stopped maintaining commandline SVN client wrapper
       and it now became uncompilable as a result.
+  * Use real version number during build.
 
  -- Jakub Adam <jakub.adam at ktknet.cz>  Sun, 17 Jun 2012 23:00:09 +0200
 
diff --git a/debian/libsvnclientadapter-java.jlibs b/debian/libsvnclientadapter-java.jlibs
index 414d7e2..6de18dc 100644
--- a/debian/libsvnclientadapter-java.jlibs
+++ b/debian/libsvnclientadapter-java.jlibs
@@ -1 +1 @@
-build/lib/svnClientAdapter-0.9.100.jar
+build/lib/svnClientAdapter-*.jar
diff --git a/debian/rules b/debian/rules
index a4199cf..a70bffc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,5 +9,10 @@ JARS := $(JARS):/usr/share/java/emma_ant.jar
 export CLASSPATH=$(JARS)
 export JAVA_HOME=/usr/lib/jvm/default-java
 
+VERSION := $(shell dpkg-parsechangelog | grep Version: | sed 's/Version: \(.*\)-.*/\1/')
+
 %:
 	dh $@ --with javahelper
+
+override_dh_auto_build:
+	ant -DsvnClientAdapter.version=$(VERSION)

-- 
svnclientadapter packaging



More information about the pkg-java-commits mailing list