From 90878a59fd4e86a4507cf3d9dfb7598ad53768cf Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 24 Jan 2010 15:40:23 +0100 Subject: [PATCH] rules: Check whether all patches have been enabled; fail, if not. --- debian/changelog | 3 ++- debian/rules | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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/' \ -- 2.30.2