[proguard] 01/01: Removed the non-free documentation from the package (Closes: #719706) Removed the pre-built jars from the upstream tarball Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Apr 10 11:52:48 UTC 2014


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

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

commit c3055ec5921d8c27c41b219009ac2492033bd37c
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Apr 10 13:32:29 2014 +0200

    Removed the non-free documentation from the package (Closes: #719706)
    Removed the pre-built jars from the upstream tarball
    Use XZ compression for the upstream tarball
---
 debian/changelog   |  3 +++
 debian/docs        |  1 -
 debian/examples    |  1 -
 debian/orig-tar.sh | 18 ++++++++++++++++++
 debian/watch       |  3 +--
 5 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 031403d..310f284 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,12 +1,15 @@
 proguard (4.8-1) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Removed the non-free documentation from the package (Closes: #719706)
+  * Removed the pre-built jars from the upstream tarball
   * debian/control:
     - The package is now co-maintained with the Java Team
     - Standards-Version updated to 3.9.5 (no changes)
     - Added the Vcs-* fields
     - Added the Homepage field
   * Switch to debhelper level 9
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Thu, 10 Apr 2014 11:47:46 +0200
 
diff --git a/debian/docs b/debian/docs
deleted file mode 100644
index 8c696ad..0000000
--- a/debian/docs
+++ /dev/null
@@ -1 +0,0 @@
-docs/manual
diff --git a/debian/examples b/debian/examples
deleted file mode 100644
index e39721e..0000000
--- a/debian/examples
+++ /dev/null
@@ -1 +0,0 @@
-examples/*
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..d93c3ff
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../proguard_$VERSION.orig.tar.xz
+DIR=proguard$VERSION
+
+tar -xf $3
+rm $3
+tar -c -J -f $TAR --exclude 'lib/*.jar'  --exclude 'docs/*' --exclude 'examples/*' $DIR
+rm -rf $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir
+  echo "moved $TAR to $origDir"
+fi
+
diff --git a/debian/watch b/debian/watch
index 3e2392b..7567df4 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,2 @@
 version=3
-
-http://sf.net/proguard/proguard([\d\.]+)\.tar\.gz
+http://sf.net/proguard/proguard([\d\.]+)\.tar\.gz debian debian/orig-tar.sh

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



More information about the pkg-java-commits mailing list