[Pkg-javascript-commits] [backbone] 04/05: Repackage upstream tarball, excluding images with non-free ICC profiles, and uglified file hard to verify if truly corresponds with shipped source.

Jonas Smedegaard dr at jones.dk
Wed Nov 19 16:43:20 UTC 2014


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

js pushed a commit to branch master-experimental
in repository backbone.

commit 70cd39f7ea8fc3c1b04cc561bf90411cc64b40c8
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sat May 3 19:19:53 2014 +0200

    Repackage upstream tarball, excluding images with non-free ICC profiles, and uglified file hard to verify if truly corresponds with shipped source.
---
 debian/copyright | 5 +++++
 debian/rules     | 6 ++++++
 debian/watch     | 1 +
 3 files changed, 12 insertions(+)

diff --git a/debian/copyright b/debian/copyright
index 684e1c1..33020af 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -5,6 +5,11 @@ Upstream-Contact: http://github.com/documentcloud/backbone/issues/
  Twitter: @documentcloud
 Source: https://github.com/documentcloud/backbone/downloads
  git://github.com/documentcloud/backbone
+ Repackaged, excluding non-DFSG files
+Files-Excluded: backbone-min.js
+ docs/images/flow.png
+ docs/images/battlefield.png
+ docs/images/wpcom-notifications.png
 
 Files: *
 Copyright: 2009-2012, Jeremy Ashkenas <jeremy at documentcloud.org>
diff --git a/debian/rules b/debian/rules
index 615864f..7f51bdd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,6 +29,12 @@ DEB_UPSTREAM_URL = https://github.com/documentcloud/$(pkg)/archive
 DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_TARBALL_VERSION)
 DEB_UPSTREAM_TARBALL_MD5 = d24ee0a1d401705c8bb098b5ebf01725
 
+DEB_UPSTREAM_REPACKAGE_EXCLUDES = \
+ backbone-min.js \
+ docs/images/flow.png \
+ docs/images/battlefield.png \
+ docs/images/wpcom-notifications.png \
+
 # Ease backporting (node-uglify is tough to backport)
 # TODO: drop fallback-dependency when uglifyjs is in Debian stable
 CDBS_BUILD_DEPENDS += , node-uglify | yui-compressor
diff --git a/debian/watch b/debian/watch
index 9e72bbb..d128357 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
 version=3
+opts=dversionmangle=s/\~dfsg.*// \
 https://github.com/documentcloud/backbone/tags .*/archive/v?(\d[\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list