[jmock2] 03/08: debian/watch: Track the new release tags on GitHub

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Sep 27 08:17:14 UTC 2016


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

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

commit f2838f894d06b5c6d417a08bfc4fd1d064718b7c
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Sep 26 17:19:26 2016 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 3e16432..efb8a90 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ jmock2 (2.7~snapshot+201309170925-gitd7fe69b5+dfsg-3) UNRELEASED; urgency=medium
   * Team upload.
   * Standards-Version updated to 3.9.8
   * Use secure Vcs-* URLs
+  * debian/watch: Track the new release tags on GitHub
 
  -- Emmanuel Bourg <ebourg at apache.org>  Mon, 26 Sep 2016 17:01:38 +0200
 
diff --git a/debian/copyright b/debian/copyright
index 118c7ca..7eba800 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,7 +2,7 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: jMock2
 Upstream-Contact: Steve Freeman, Tim Mackinnon, Nat Pryce, Mauro Talevi, Joe Walnes
  <http://dir.gmane.org/gmane.comp.java.jmock.devel>
-Source: http://svn.codehaus.org/jmock/
+Source: https://github.com/jmock-developers/jmock-library
 
 Files: *
 Copyright: 2000-2007, jMock.org
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index 68d62c7..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh -e
-
-VERSION=$2
-PACKAGE=$(dpkg-parsechangelog | sed -n 's/^Source: //p')
-TAR=../${PACKAGE}_${VERSION}+dfsg.orig.tar.gz
-TARPOMS=../${PACKAGE}_${VERSION}+dfsg.orig-maven.tar.gz
-DIR=${PACKAGE}-${VERSION}
-
-# svn checkout sources
-svn export http://svn.codehaus.org/jmock/tags/${VERSION} $DIR
-# svn checkout maven poms
-svn export http://svn.codehaus.org/jmock/tags/packaging-maven-${VERSION} $DIR/maven
-GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
-rm -rf $DIR
-
-# 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 6eb055f..c498910 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,2 @@
 version=3
-opts="uversionmangle=s/^.*-RC[0-9]/~$1/,dversionmangle=s/\+dfsg//" \
-  http://svn.codehaus.org/jmock/tags/ \
-  (\d.*)/ debian debian/orig-tar.sh
-
+https://github.com/jmock-developers/jmock-library/tags .*/archive/([\d\.]+).tar.gz

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



More information about the pkg-java-commits mailing list