[jericho-html] 15/26: Removed the .jar, .class and javadoc files from the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Jan 3 12:42:11 UTC 2018


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

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

commit 8a4ccf5bde345e044a504261c863c39ad03a3db7
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Jan 3 11:12:54 2018 +0100

    Removed the .jar, .class and javadoc files from the upstream tarball
---
 debian/changelog   | 1 +
 debian/orig-tar.sh | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 38e05a2..786d431 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ jericho-html (3.1-3) UNRELEASED; urgency=medium
   * Team upload.
   * Moved the package to Git
   * Use XZ compression for the upstream tarball
+  * Removed the .jar, .class and javadoc files from the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Wed, 03 Jan 2018 09:29:33 +0100
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 9ede03e..3f5d41b 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -6,5 +6,9 @@
 unzip $3
 rm -rf jericho-html-$2/bin jericho-html-$2/doc jericho-html-$2/lib \
   jericho-html-$2/samples/CommandLine/bin
-XZ_OPT=--best tar -c -J -f ../jericho-html_$2.orig.tar.xz jericho-html-$2
+XZ_OPT=--best tar -c -J -f ../jericho-html_$2.orig.tar.xz \
+  --exclude *.jar \
+  --exclude *.class \
+  --exclude docs/javadoc/* \
+  jericho-html-$2
 rm -rf jericho-html-$2 $3

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



More information about the pkg-java-commits mailing list