This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository jspwiki.
commit b1fc66b124ebbeaef1d8bf5f440b1c1035fe465f Author: Emmanuel Bourg <[email protected]> Date: Thu Mar 6 15:39:16 2014 +0000 Added debian/orig-tar.sh to build the upstream tarball --- debian/changelog | 1 + debian/orig-tar.sh | 10 ++++++++++ debian/rules | 9 +-------- debian/watch | 2 +- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/debian/changelog b/debian/changelog index c8f210a..07be2df 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,6 +13,7 @@ jspwiki (2.8.0-6) UNRELEASED; urgency=medium - Updated the Homepage field * Added a watch file * debian/rules: Use dh_install to install the files in /etc/jspwiki + * Added debian/orig-tar.sh to build the upstream tarball -- Emmanuel Bourg <[email protected]> Thu, 06 Mar 2014 12:59:23 +0100 diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh new file mode 100755 index 0000000..524fd4c --- /dev/null +++ b/debian/orig-tar.sh @@ -0,0 +1,10 @@ +#!/bin/sh -e + +VERSION=$2 +TAR=../jspwiki_$VERSION.orig.tar.xz +DIR=jspwiki-$VERSION +TAG=$(echo jspwiki_$VERSION | sed -e 's/[\.~]/_/g') + +svn export http://svn.apache.org/repos/asf/jspwiki/tags/$TAG $DIR +tar -c -J -f $TAR --exclude '*.jar' --exclude '.settings' --exclude '.classpath' --exclude '.project' $DIR +rm -rf $DIR ../$TAG $3 diff --git a/debian/rules b/debian/rules index f398d2f..d80e5b3 100755 --- a/debian/rules +++ b/debian/rules @@ -44,14 +44,7 @@ clean-patched: JAVA_HOME=/usr/lib/jvm/default-java ant clean get-orig-source: - mkdir jspwiki-2.8.0 - cd jspwiki-2.8.0 - wget http://www.ecyrd.com/~jalkanen/JSPWiki/2.8.0/JSPWiki-2.8.0-src.zip - unzip JSPWiki-2.8.0-src.zip - rm JSPWiki-2.8.0-src.zip - cd .. - tar czf jspwiki_2.8.0.orig.tar.gz jspwiki-2.8.0 - rm -rf jspwiki-2.8.0 + uscan --download-version 2.8.0 --rename install: build dh_testdir diff --git a/debian/watch b/debian/watch index 23ec8f6..f2ef0b7 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,3 @@ version=3 opts=uversionmangle=s/_/./g \ -http://svn.apache.org/repos/asf/jspwiki/tags/ jspwiki_([\d_]+)/.* +http://svn.apache.org/repos/asf/jspwiki/tags/ jspwiki_([\d_]+)/.* debian debian/orig-tar.sh -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jspwiki.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

