[osgi-core] 02/10: Update debian/watch. Drop orig-tar.sh and use the sources from Maven.

Markus Koschany apo-guest at moszumanska.debian.org
Sat Feb 7 21:58:57 UTC 2015


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

apo-guest pushed a commit to branch experimental
in repository osgi-core.

commit f1cf1920db73a93c092a2671671c56a0dee529f0
Author: Markus Koschany <apo at gambaru.de>
Date:   Sat Feb 7 21:54:05 2015 +0100

    Update debian/watch. Drop orig-tar.sh and use the sources from Maven.
    
    This is more convenient then trying to find the hidden sources on osgi.org.
---
 debian/orig-tar.sh | 21 ---------------------
 debian/watch       |  4 ++--
 2 files changed, 2 insertions(+), 23 deletions(-)

diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index 3a12d27..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-# called with '--upstream-version' <version>
-VERSION=$2
-TAR=../osgi-core_$VERSION.orig.tar.gz
-DIR=osgi-core-$VERSION
-TAG=43
-
-wget -O osgi.core.jar http://www.osgi.org/download/r4v$TAG/osgi.core-${VERSION}.jar
-
-mkdir -p $DIR/src/
-(cd $DIR && jar xvf ../osgi.core.jar)
-
-rm -r $DIR/org
-mv $DIR/OSGI-OPT/src/* $DIR/src/
-mv $DIR/OSGI-OPT/*.bnd $DIR/src/
-mv $DIR/META-INF $DIR/src/
-rm -r $DIR/OSGI-OPT
-
-GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
-rm -rf $DIR osgi.core.jar
diff --git a/debian/watch b/debian/watch
index 84d0df7..3468d23 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,5 @@
 version=3
 opts="uversionmangle=s/-(alpha|beta)-/~$1/" \
-  https://github.com/bndtools/bnd/tree/master/cnf/repo/osgi.core/ \
-  .*/osgi.core-(.*).jar debian debian/orig-tar.sh
+  http://repo1.maven.org/maven2/org/osgi/org.osgi.core//(\d.*)/\
+  org.osgi.core-(\d.*)-sources.jar
 

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



More information about the pkg-java-commits mailing list