[plplot] 65/68: Replace hand-made debian/repack with Files-Excluded:

Ole Streicher olebole at moszumanska.debian.org
Mon Jul 10 07:38:43 UTC 2017


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

olebole pushed a commit to branch master
in repository plplot.

commit a4e37b4aaaaedc418953fb8ab20006592f577e8d
Author: Ole Streicher <olebole at debian.org>
Date:   Mon Jul 10 08:39:14 2017 +0200

    Replace hand-made debian/repack with Files-Excluded:
---
 debian/copyright |  3 ++-
 debian/repack    | 16 ----------------
 debian/watch     |  4 ++--
 3 files changed, 4 insertions(+), 19 deletions(-)

diff --git a/debian/copyright b/debian/copyright
index a414df0..64ba9f0 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -8,7 +8,8 @@ Comment: Unless otherwise stated all files are released under the LGPL-2+.
  Any file that has a explicit copyright notice may be distributed 
  under the terms of both the LGPL and whatever stated conditions accompany 
  the copyright.
-Files-Excluded: examples/c/lena.pgm examples/lena.pgm examples/octave/lena.img
+Files-Excluded: www doc/doxygen
+ examples/c/lena.pgm examples/lena.pgm examples/octave/lena.img
 
 Files: *
 Copyright: 1998-2004  Joao Cardoso
diff --git a/debian/repack b/debian/repack
deleted file mode 100755
index ad2ca6f..0000000
--- a/debian/repack
+++ /dev/null
@@ -1,16 +0,0 @@
-#! /bin/sh
-set -e
-
-package="plplot"
-excludes="www docs/doxygen"
-version="$2"
-source="$3"
-dest="$(dirname "$source")/${package}_${version}.orig.tar.gz"
-dir="$(mktemp -d)"
-trap "rm -rf -- '$dir'" EXIT
-tar -xzf "$source" -C "$dir"
-cd "$dir"
-for exclude in $excludes; do rm -rf $exclude ; done
-tar -C "$dir" -caf "$dest" .
-rm -rf - "$dir"
-trap - EXIT
diff --git a/debian/watch b/debian/watch
index 784efa7..0b81469 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
-opts="uversionmangle=s/-/~/,dversionmangle=s/\+dfsg$//" \
-  http://sf.net/plplot/plplot-(.*)\.tar\.gz debian debian/repack
+opts="uversionmangle=s/-/~/,dversionmangle=s/\+dfsg$//,repacksuffix=+dfsg" \
+  http://sf.net/plplot/plplot-(.*)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/plplot.git



More information about the debian-science-commits mailing list