[osgi-compendium] 01/12: Drop orig-tar.sh and rewrite get-orig-source target. Fetch the latest source
Markus Koschany
apo-guest at moszumanska.debian.org
Mon Feb 9 14:48:51 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-compendium.
commit 3acac3fa8ed24f11b73cadcf139b29efb2d03dc2
Author: Markus Koschany <apo at gambaru.de>
Date: Mon Feb 9 14:45:48 2015 +0100
Drop orig-tar.sh and rewrite get-orig-source target. Fetch the latest source
versions from Maven.
---
debian/orig-tar.sh | 23 -----------------------
debian/rules | 4 ++--
2 files changed, 2 insertions(+), 25 deletions(-)
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index e93e501..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-# called with '--upstream-version' <version>
-VERSION=$2
-TAR=../osgi-compendium_$VERSION.orig.tar.xz
-DIR=osgi-compendium-$VERSION
-TAG=42
-
-wget -O osgi.compendium.jar --no-check-certificate https://github.com/bndtools/bnd/raw/master/cnf/repo/osgi.cmpn/osgi.cmpn-4.3.0.jar
-# http://www.osgi.org/download/r4v$TAG/osgi.cmpn.jar
-
-mkdir -p $DIR/src/
-(cd $DIR && jar xvf ../osgi.compendium.jar)
-
-rm -r $DIR/org $DIR/info
-mv $DIR/OSGI-OPT/src/* $DIR/src/
-mv $DIR/xmlns $DIR/src/
-mv $DIR/OSGI-OPT/*.bnd $DIR/src/
-mv $DIR/META-INF $DIR/src/
-rm -r $DIR/OSGI-OPT
-
-XZ_OPT=--best tar -c -J -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
-rm -rf $DIR osgi.compendium.jar
diff --git a/debian/rules b/debian/rules
index 15ca556..ee2fa74 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,7 @@ override_jh_manifest:
jar umf src/META-INF/MANIFEST.MF debian/$(PACKAGE)/usr/share/java/$(JAR_NAME).jar
get-orig-source:
- debian/orig-tar.sh --upstream-version $(VERSION)
+ uscan --verbose --repack --compression xz --force-download --download-current-version
get-orig-pom:
- wget --user-agent="" -O debian/pom.xml $(MAVEN_REPO)/$(VERSION)/org.osgi.compendium-$(VERSION).pom
+ wget --user-agent="" -O debian/pom.xml $(MAVEN_REPO)/$(VERSION)/org.osgi.compendium-$(VERSION).pom
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/osgi-compendium.git
More information about the pkg-java-commits
mailing list