From: Sebastian Harl Date: Tue, 6 Mar 2018 21:19:47 +0000 (+0100) Subject: rules: Fix the arch selection for enabling the gRPC plugin. X-Git-Tag: collectd-5.8.0-4^0 X-Git-Url: https://git.tokkee.org/?p=pkg-collectd.git;a=commitdiff_plain;h=2fdb9092561d6b6fcbcb38e9b37ff1ccaba8f937 rules: Fix the arch selection for enabling the gRPC plugin. By accident, we disabled it for exactly the wrong archs. Thanks to Adrian Bunk for reporting this! Closes: #892166 --- diff --git a/debian/changelog b/debian/changelog index 959d28b..ebdadd0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +collectd (5.8.0-4) unstable; urgency=medium + + * debian/rules: + - Fix the arch selection for enabling the gRPC plugin. By accident, we + disabled it for exactly the wrong archs. Thanks to Adrian Bunk for + reporting this! (Closes: #892166) + + -- Sebastian Harl Tue, 06 Mar 2018 22:19:38 +0100 + collectd (5.8.0-3) unstable; urgency=medium * debian/control: diff --git a/debian/rules b/debian/rules index 166f4c8..80f1bc9 100755 --- a/debian/rules +++ b/debian/rules @@ -183,7 +183,8 @@ ifneq (,$(filter hppa sparc, $(DEB_BUILD_ARCH))) confflags += --disable-java endif -ifneq (,$(filter amd64 arm64 armel armhf i386 ppc64el powerpc, $(DEB_BUILD_ARCH))) +# gRPC is only available on x86, arm, ppc. +ifeq (,$(filter amd64 arm64 armel armhf i386 ppc64el powerpc, $(DEB_BUILD_ARCH))) confflags += --disable-grpc endif