[cdi-api] 02/10: Use Files-Excluded directive instead of orig-tar.sh script.

Markus Koschany apo-guest at moszumanska.debian.org
Tue Sep 30 16:08:33 UTC 2014


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

apo-guest pushed a commit to branch experimental
in repository cdi-api.

commit 0577b6ccb3b92038e84ad8114a625cb1ecac6398
Author: Markus Koschany <apo at gambaru.de>
Date:   Tue Sep 30 12:50:55 2014 +0200

    Use Files-Excluded directive instead of orig-tar.sh script.
---
 debian/copyright   |  3 +++
 debian/orig-tar.sh | 12 ------------
 2 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/debian/copyright b/debian/copyright
index 4f51dce..6b173e1 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,9 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: CDI (JSR 299) API
 Source: http://jcp.org/en/jsr/detail?id=299
+Files-Excluded:
+ *.jar
+ *.class
 
 Files: *
 Copyright: Copyright: 2008, Red Hat Middleware LLC, and individual contributors
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index 7f285c8..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh 
-
-# called with '--upstream-version' <version> <file>
-VERSION=$2
-TAR=../cdi-api_$VERSION.orig.tar.gz
-DIR=cdi-api-$VERSION
-
-mkdir -p $DIR/src/
-(cd $DIR/src/ && echo `pwd` && jar xvf ../../$3)
-
-GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
-rm -rf $DIR $3

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



More information about the pkg-java-commits mailing list