From 7b3d71609e3e7a0f34190362fa3c0f5575c5b015 Mon Sep 17 00:00:00 2001 From: Lennart Weller Date: Wed, 22 Jun 2016 16:23:05 +0200 Subject: use files-excluded to remove unnecessary files from upstream tarball --- debian/copyright | 13 +++++++++++++ debian/gbp.conf | 2 ++ debian/watch | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 debian/gbp.conf 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 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))) -- cgit v1.2.3