From: Sebastian Harl Date: Sun, 24 Jan 2010 14:40:23 +0000 (+0100) Subject: rules: Check whether all patches have been enabled; fail, if not. X-Git-Tag: collectd-4.9.1-1~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=90878a59fd4e86a4507cf3d9dfb7598ad53768cf;p=pkg-collectd.git rules: Check whether all patches have been enabled; fail, if not. --- diff --git a/debian/changelog b/debian/changelog index 0f34842..cca6717 100644 --- a/debian/changelog +++ b/debian/changelog @@ -45,6 +45,7 @@ collectd (4.9.1-1) unstable; urgency=low vmem, vserver, wireless. - Simplified Java archdir mapping: removed entries "pointing" to themselves and let those default to DEB_BUILD_ARCH. + - Check whether all patches have been enabled; fail, if not. * debian/patches: - Added bts566199_collection_hide_types.dpatch -- added ability to hide specified types in collection.cgi; thanks to Pavel Piatruk for the patch @@ -55,7 +56,7 @@ collectd (4.9.1-1) unstable; urgency=low - Replaced overrides for spelling-error-in-description with capitalization-error-in-description. - -- Sebastian Harl Sun, 24 Jan 2010 14:40:32 +0100 + -- Sebastian Harl Sun, 24 Jan 2010 15:39:18 +0100 collectd (4.8.2-1) unstable; urgency=medium diff --git a/debian/rules b/debian/rules index 2ddcaa0..4d2d745 100755 --- a/debian/rules +++ b/debian/rules @@ -133,6 +133,12 @@ endif config.status: configure $(DPATCH_STAMPFN) dh_testdir + ( cd debian/patches/; for patch in *; do \ + if test "$$patch" != "00list"; then \ + grep "$$patch" 00list > /dev/null \ + || ( echo "$$patch not enabled\!"; exit 1 ); \ + fi; done ) + # This is a work-around for #474087 (broken openipmi .pc files). mkdir debian/pkgconfig sed -re 's/^(Requires:.*) pthread(.*)$$/\1\2/' \