summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Weller <lhw@ring0.de>2016-06-22 14:23:05 +0000
committerLennart Weller <lhw@ring0.de>2016-06-22 14:23:05 +0000
commit7b3d71609e3e7a0f34190362fa3c0f5575c5b015 (patch)
tree591cb191a051c44151474ce504f1c55fbd7e55f2
parentMerge new version of branch 'dfsg_clean' (diff)
downloadnetdata-7b3d71609e3e7a0f34190362fa3c0f5575c5b015.tar.xz
netdata-7b3d71609e3e7a0f34190362fa3c0f5575c5b015.zip
use files-excluded to remove unnecessary files from upstream tarball
-rw-r--r--debian/copyright13
-rw-r--r--debian/gbp.conf2
-rw-r--r--debian/watch2
3 files changed, 16 insertions, 1 deletions
diff --git a/debian/copyright b/debian/copyright
index 3a88b17fd..07a5a0e2d 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,6 +2,19 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: netdata
Upstream-Contact: Costa Tsaousis <costa@tsaousis.gr>
Source: https://github.com/firehol/netdata
+Files-Excluded:
+ web/old/*
+ web/fonts/*
+ web/css/bootstrap-theme.min.css
+ web/css/bootstrap.min.css
+ web/css/font-awesome.min.css
+ web/lib/bootstrap.min.js
+ web/lib/d3.min.js
+ web/lib/jquery-1.12.0.min.js
+ web/lib/raphael-min.js
+Comment:
+ Excluded files are available as debian package or are old files still being
+ distributed with the tarball.
Files: *
Copyright: 2014-2016, Costa Tsaousis
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 000000000..cec628c74
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/debian/watch b/debian/watch
index 7a03e785b..68ba944ea 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
version=3
-opts=pgpsigurlmangle=s/$/.asc/,dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$// \
+opts=repacksuffix=+dfsg,pgpsigurlmangle=s/$/.asc/,dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$// \
https://firehol.org/download/netdata/releases/v(\d\S*)/ netdata-(\d\S*)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))