[tika] 05/05: debian/watch: Track the release tags on GitHub

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Jun 24 14:26:45 UTC 2016


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

ebourg-guest pushed a commit to branch master
in repository tika.

commit 691842b5060192496c8d999591d1a519fccf6716
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri Jun 24 16:21:33 2016 +0200

    debian/watch: Track the release tags on GitHub
---
 debian/changelog   |  1 +
 debian/copyright   |  1 +
 debian/orig-tar.sh | 20 --------------------
 debian/watch       |  4 +---
 4 files changed, 3 insertions(+), 23 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 10a440c..38ccb95 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ tika (1.5-5) UNRELEASED; urgency=medium
   * Build with the DH sequencer instead of CDBS
   * Standards-Version updated to 3.9.8
   * Use a secure Vcs-Git URL
+  * debian/watch: Track the release tags on GitHub
 
  -- Emmanuel Bourg <ebourg at apache.org>  Fri, 24 Jun 2016 16:05:32 +0200
 
diff --git a/debian/copyright b/debian/copyright
index cdd77b4..0718ebc 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,7 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: Apache Tika
 Source: http://tika.apache.org
+Files-Excluded: */test/resources/*
 
 Files: *
 Copyright: 2007-2014, The Apache Software Foundation
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index e2394b8..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh -e
-#
-# Removes unwanted content from the upstream sources.
-# Called by uscan with '--upstream-version' <version> <file>
-#
-
-VERSION=$2
-TAR=../tika_$VERSION.orig.tar.xz
-DIR=tika-$VERSION
-TAG=$(echo "$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
-
-svn export http://svn.apache.org/repos/asf/tika/tags/${TAG}/ $DIR
-XZ_OPT=--best tar -c -J -f $TAR --exclude '*.jar' --exclude '*.class' --exclude '*/test/resources/*' $DIR
-rm -rf $DIR ../$TAG
-
-# move to directory 'tarballs'
-if [ -r .svn/deb-layout ]; then
-  . .svn/deb-layout
-  mv $TAR $origDir && echo "moved $TAR to $origDir"
-fi
diff --git a/debian/watch b/debian/watch
index 85cc73c..75220cf 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,2 @@
 version=3
-opts="uversionmangle=s/-(alpha|beta|rc)/~$1/" \
-  http://svn.apache.org/repos/asf/tika/tags/ \
-  (\d.*)/ debian debian/orig-tar.sh
+https://github.com/apache/tika/tags .*/archive/([\d\.]+).tar.gz

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



More information about the pkg-java-commits mailing list