[Pkg-octave-commit] [octave-ltfat] 04/06: Drop .jar file from upstream tarball, complying with the Debian Policy
Rafael Laboissière
rlaboiss-guest at moszumanska.debian.org
Sun Nov 9 17:05:12 UTC 2014
This is an automated email from the git hooks/post-receive script.
rlaboiss-guest pushed a commit to branch master
in repository octave-ltfat.
commit 9917d02633b6cdee81507996d2175f63da8a17c1
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date: Sun Nov 9 14:41:12 2014 -0200
Drop .jar file from upstream tarball, complying with the Debian Policy
+ d/copyright: Exclude file blockproc.jar
+ d/rules: Add get-orig-source target
+ d/watch: Mangle upstream version to cope with "+dfsg" tag
Git-Dch: Full
---
debian/copyright | 1 +
debian/rules | 3 +++
debian/watch | 3 ++-
3 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/debian/copyright b/debian/copyright
index 96cd86b..87f4a16 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,6 +2,7 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: LTFAT package for Octave
Upstream-Contact: The Octave Community <octave-maintainers at octave.org>
Source: http://octave.sourceforge.net/ltfat/
+Files-Excluded: inst/blockproc/java/blockproc.jar
Files: *
Copyright: 2005-2014 Peter L. Soendergaard <soender at users.sourceforge.net>
diff --git a/debian/rules b/debian/rules
index fa6e6a9..ef9e5c2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,3 +34,6 @@ install/octave-ltfat::
@echo "Warning: check whether this fix is still needed:"
find $(octdir) -name \*.m | xargs chmod -x
@echo "************************************************************"
+
+get-orig-source:
+ uscan --verbose --force-download --repack --compression=xz
diff --git a/debian/watch b/debian/watch
index d2078f2..632a994 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
version=3
-http://sf.net/octave/ltfat-(.+)\.tar\.gz
+opts="dversionmangle=s/[~+]dfsg[0-9]*//" \
+ http://sf.net/octave/ltfat-(.+)\.tar\.gz
--
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-ltfat.git
More information about the Pkg-octave-commit
mailing list