[Pkg-javascript-commits] [node-utf8] 03/06: Exclude minified JavaScript from upstream source.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Apr 3 14:12:35 UTC 2015


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

sebastic pushed a commit to branch master
in repository node-utf8.

commit 05c41f5e82716263e102b14049f6fc1234eeb01e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Apr 3 16:07:06 2015 +0200

    Exclude minified JavaScript from upstream source.
---
 debian/copyright | 3 +++
 debian/watch     | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/copyright b/debian/copyright
index 59a6a13..0bf8617 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: utf8.js
 Upstream-Contact: Mathias Bynens (https://mathiasbynens.be/)
 Source: https://github.com/mathiasbynens/utf8.js
+Comment: The upstream source is repackaged to remove minified JavaScript files
+ without source.
+Files-Excluded: coverage/prettify.js
 
 Files: *
 Copyright: Mathias Bynens (https://mathiasbynens.be/)
diff --git a/debian/watch b/debian/watch
index e8ef927..f403f23 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,7 @@
 version=3
 opts=\
 dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
-filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-utf8-$1.tar.gz/ \
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-utf8-$1.tar.gz/,\
+repacksuffix=+dfsg \
 https://github.com/mathiasbynens/utf8.js/tags \
 .*/archive/v?([\d\.]+).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-utf8.git



More information about the Pkg-javascript-commits mailing list