This is an automated email from the git hooks/post-receive script. xhaakon-guest pushed a commit to branch master in repository libcommons-jxpath-java.
commit db6a1704172847ec2ca257bbed2af150745ac375 Author: Niels Thykier <[email protected]> Date: Sun Sep 13 16:02:17 2009 +0000 Work around upstream forgetting to bump versions. --- debian/changelog | 3 +++ debian/install | 1 - debian/links | 1 - debian/patches/01_build_xml.patch | 11 +++++++---- debian/rules | 8 +++++++- 5 files changed, 17 insertions(+), 7 deletions(-) diff --git a/debian/changelog b/debian/changelog index a531be7..cf3afa8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,6 +17,9 @@ libcommons-jxpath-java (1.3-1) unstable; urgency=low - Updated the encoding of debian/copyright to UTF-8. - Added Vcs-fields to debian/control. - Added Homepage field in debian/control. + * Work around upstream forgetting to bump the version number. + - Updated patch 01_build_xml.patch to also correct the version + number in docs. -- Niels Thykier <[email protected]> Sat, 12 Sep 2009 10:36:15 +0200 diff --git a/debian/install b/debian/install deleted file mode 100644 index 4f529b1..0000000 --- a/debian/install +++ /dev/null @@ -1 +0,0 @@ -target/commons-jxpath-1.2.jar usr/share/java/ diff --git a/debian/links b/debian/links deleted file mode 100644 index 2ad0f99..0000000 --- a/debian/links +++ /dev/null @@ -1 +0,0 @@ -usr/share/java/commons-jxpath-1.2.jar usr/share/java/commons-jxpath.jar diff --git a/debian/patches/01_build_xml.patch b/debian/patches/01_build_xml.patch index 4cde87d..cfe4abf 100644 --- a/debian/patches/01_build_xml.patch +++ b/debian/patches/01_build_xml.patch @@ -1,5 +1,5 @@ ---- build.xml.orig 2009-09-11 23:13:56.969009343 +0200 -+++ build.xml 2009-09-11 23:15:44.485055841 +0200 +--- a/build.xml 2009-09-13 12:20:12.177029733 +0200 ++++ b/build.xml 2009-09-13 12:20:44.817007573 +0200 @@ -33,7 +33,7 @@ <target name="compile" description="o Compile the code" depends="get-deps"> <mkdir dir="${classesdir}"> @@ -18,9 +18,12 @@ <jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}"> </jar> </target> -@@ -146,7 +146,7 @@ +@@ -144,9 +144,9 @@ + </tstamp> + <property name="copyright" value="Copyright &copy; The Apache Software Foundation. All Rights Reserved."> </property> - <property name="title" value="JXPath 1.2 API"> +- <property name="title" value="JXPath 1.2 API"> ++ <property name="title" value="JXPath 1.3 API"> </property> - <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="src/java" packagenames="*"> + <javadoc destdir="${javadocdir}" author="true" version="true" sourcepath="src/java" packagenames="*"> diff --git a/debian/rules b/debian/rules index a05ee82..6ba213c 100755 --- a/debian/rules +++ b/debian/rules @@ -15,4 +15,10 @@ DEB_ANT_BUILD_TARGET := jar javadoc DEB_ANT_CLEAN_TARGET := clean LIBRARY=commons-jxpath -VERSION=1.3 + +binary-install/libcommons-jxpath-java:: + # With the 1.3 release upstream forgot to bump the version number. + # So we are doing a little magic to get it right regardless. + test `ls -1 target/commons-jxpath-*.jar | wc -l` = 1 || ( echo "Too many matches" ; exit 1) + cp target/commons-jxpath-*.jar debian/libcommons-jxpath-java/usr/share/java/commons-jxpath-$(DEB_UPSTREAM_VERSION).jar + dh_link usr/share/java/commons-jxpath-$(DEB_UPSTREAM_VERSION).jar usr/share/java/commons-jxpath.jar -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libcommons-jxpath-java.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

