[freeplane] 01/01: exclude flash files also in get-orig-source

Felix Natter fnatter-guest at moszumanska.debian.org
Sat Feb 1 15:11:20 UTC 2014


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

fnatter-guest pushed a commit to branch master
in repository freeplane.

commit b42ce63e87c58e87c5ae48ec4e12964396fd7cff
Author: Felix Natter <fnatter at gmx.net>
Date:   Sat Feb 1 16:10:22 2014 +0100

    exclude flash files also in get-orig-source
---
 debian/copyright | 3 +++
 debian/rules     | 5 +++++
 2 files changed, 8 insertions(+)

diff --git a/debian/copyright b/debian/copyright
index 1ced25e..eb574f2 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,6 +2,9 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: Freeplane
 Source: http://freeplane.org
 Upstream-Contact: Felix Natter <fnatter at gmx.net>
+Files-Excluded:
+  freeplane/resources/flash/visorFreeplane.swf
+  freeplane/resources/flash/flashobject.js
 
 Files: *
 Copyright: 2000-2008 Joerg Mueller, Daniel Polansky, Christian Foltin, Dimitry Polivaev <dpolivaev at gmx.de>
diff --git a/debian/rules b/debian/rules
index aac174c..dfe001f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,4 +34,9 @@ clean::
 
 # Get original sources directly using uscan
 get-orig-source:
+  # this will remove some upstream files, see debian/copyright
 	uscan --force-download --rename --repack
+  # hack for 1.2.23+dfsg1-1
+	if [ -e ../freeplane_1.2.23+dfsg.orig.tar.gz ]; then \
+	  mv ../freeplane_1.2.23+dfsg.orig.tar.gz ../freeplane_1.2.23+dfsg1.orig.tar.gz; \
+	fi

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



More information about the pkg-java-commits mailing list