[libparanamer-java] 01/01: Removed the sourceless minified JavaScript file show_ads.js from the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon May 18 15:20:13 UTC 2015


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

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

commit 6dce9f7a09810d725810c280280e62ccd392d89e
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon May 18 17:19:09 2015 +0200

    Removed the sourceless minified JavaScript file show_ads.js from the upstream tarball
---
 debian/changelog   |  1 +
 debian/orig-tar.sh | 15 +++++++++++++++
 debian/watch       |  2 +-
 3 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index eeb1e11..5a159d5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ libparanamer-java (2.7+repack-1) unstable; urgency=medium
     as libparanamer-maven-plugin-java (Closes: #776586)
   * Do not reference the parent POM in the paranamer's POM (Closes: #776583)
   * debian/copyright: Credited Timothy Cleaver and Stefan Fleiter
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Sat, 31 Jan 2015 00:18:09 +0100
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..98d16a3
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+set -e
+
+VERSION=$2
+DIR=libparanamer-java-${VERSION}
+TAR=../libparanamer-java_${VERSION}.orig.tar.xz
+
+mkdir $DIR
+tar -xf $3 --strip-components=1 -C $DIR
+rm $3
+XZ_OPT=--best tar -c -v -J -f $TAR \
+    --exclude '*.svnignore' \
+    --exclude 'show_ads.js' \
+    $DIR
+rm -Rf $DIR
diff --git a/debian/watch b/debian/watch
index c6b0c61..c82c38e 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
 http://repo1.maven.org/maven2/com/thoughtworks/paranamer/paranamer/(\d.*)/\
- paranamer-(\d.*)-sources\.jar
+ paranamer-(\d.*)-sources\.jar debian debian/orig-tar.sh

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



More information about the pkg-java-commits mailing list