From 82a5e061084efecf535ad6482ceda4f1b56e3d6f Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Mon, 8 Aug 2016 15:36:15 +0200 Subject: [PATCH] collectd.spec: fix ./configure arguments order --- contrib/redhat/collectd.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/redhat/collectd.spec b/contrib/redhat/collectd.spec index 3a4afdc6..bb27aa38 100644 --- a/contrib/redhat/collectd.spec +++ b/contrib/redhat/collectd.spec @@ -1395,7 +1395,7 @@ Collectd utilities %if %{with_python} %if 0%{?rhel} && 0%{?rhel} < 6 %define _with_python --enable-python --with-python=%{_bindir}/python2.6 -%define _python_config PYTHON_CONFIG=%{_bindir}/python2.6-config +%define _python_config PYTHON_CONFIG="%{_bindir}/python2.6-config" %else %define _with_python --enable-python %endif @@ -1673,8 +1673,8 @@ Collectd utilities %define _with_zookeeper --disable-zookeeper %endif -%configure CFLAGS="%{optflags} %{?_python_config} \ - -DLT_LAZY_OR_NOW=\"RTLD_LAZY|RTLD_GLOBAL\"" \ +%configure CFLAGS="%{optflags} -DLT_LAZY_OR_NOW=\"RTLD_LAZY|RTLD_GLOBAL\"" \ + %{?_python_config} \ --disable-static \ --without-included-ltdl \ --enable-all-plugins=yes \ -- 2.11.0