From 9aa39a17464fb9237f74acf56e9831abe7866e1e Mon Sep 17 00:00:00 2001 From: Ben Finney Date: Sun, 3 Jul 2016 18:33:43 +1000 Subject: [PATCH] Re-pack the upstream source to remove non-source files. --- debian/README.source | 46 +++++++++++++++++++++++++++++++++++++++++++++- debian/changelog | 2 +- debian/copyright | 8 ++++++++ debian/watch | 4 ++-- 4 files changed, 56 insertions(+), 4 deletions(-) diff --git a/debian/README.source b/debian/README.source index fac7457..a970507 100644 --- a/debian/README.source +++ b/debian/README.source @@ -36,4 +36,48 @@ The generated source package is the source control file and its associated files in that directory. - -- Ben Finney , Sun, 3 Jul 2016 17:35:12 +1000 +Omitted components +================== + +Components that have been omitted from Debian because they do not +constitude the source form of the work: + +* The compiled library. + + Files: *.min.js + +* The compiled documentation. + + Files: docs/ + Comment: + The files in this directory declare they were generated with + “Natural Docs”. The source documents are not part of the + distribution. + +* Compiled files in the examples. + + Files: examples/index.css + Comment: + The CSS file in this directory is evidently compiled from source + documents that are not part of the distribution. + +* Bundled third-party libraries. + + Files: shared/ba-debug.js + Comment: + Bundled copy of the JavaScript Debug library. + + Files: shared/jquery-*.js + Comment: + Bundled copy of versions of th jQuery library. + + Files: shared/qunit.js + Comment: + Bundled copy of the QUnit library. + + Files: shared/SyntaxHighlighter/ + Comment: + Bundled copy of the SyntaxHighlighter library. + + + -- Ben Finney , Wed, 6 Jul 2016 23:36:40 +1000 diff --git a/debian/changelog b/debian/changelog index 741cc7f..faa2711 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -jquery-throttle-debounce (1.1-1) UNRELEASED; urgency=medium +jquery-throttle-debounce (1.1+dfsg.1-1) UNRELEASED; urgency=medium * Initial Debian release. (Closes: bug#829407) diff --git a/debian/copyright b/debian/copyright index cf91286..0dbeda8 100644 --- a/debian/copyright +++ b/debian/copyright @@ -2,6 +2,14 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: jQuery throttle / debounce Upstream-Contact: Ben Alman Source: https://github.com/cowboy/jquery-throttle-debounce/ +Files-Excluded: + *.min.js + shared/ba-debug.js + shared/jquery-*.js + shared/qunit.js + shared/SyntaxHighlighter/ + docs/ + examples/index.css Files: * Copyright: diff --git a/debian/watch b/debian/watch index d374a11..3da9969 100644 --- a/debian/watch +++ b/debian/watch @@ -6,10 +6,10 @@ version = 4 # Source tarball from Ben Alman's repository. -opts="uversionmangle=s/(\d)-(rc|a|b|c)/$1~$2/" \ +opts="uversionmangle=s/(\d)-(rc|a|b|c)/$1~$2/,repack,repacksuffix=+dfsg.1,dversionmangle=s/\+dfsg\.\d+$//" \ https://github.com/cowboy/jquery-throttle-debounce/releases/ \ /cowboy/jquery-throttle-debounce/archive/(?:v)?(\d\S+)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) \ - debian + debian uupdate # Local variables: -- 2.11.4.GIT