X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=contrib%2Fredhat%2Fcollectd.spec;h=fd4cb46fdc722cfd38bd8cc873948bbc445aa16e;hb=d143bc65a6984281b7c757fd5ea6ef27af5681bb;hp=5e83b0f4d95fc27ff1a97132ccc698b03efe0a66;hpb=746a2c1d4d472f4eb86f88fe5b8a19f581eac451;p=collectd.git diff --git a/contrib/redhat/collectd.spec b/contrib/redhat/collectd.spec index 5e83b0f4..fd4cb46f 100644 --- a/contrib/redhat/collectd.spec +++ b/contrib/redhat/collectd.spec @@ -226,7 +226,7 @@ Source: http://collectd.org/files/%{name}-%{version}.tar.bz2 License: GPLv2 Group: System Environment/Daemons BuildRoot: %{_tmppath}/%{name}-%{version}-root -BuildRequires: libgcrypt-devel, kernel-headers, libtool-ltdl-devel, libcap-devel +BuildRequires: libgcrypt-devel, kernel-headers, libtool-ltdl-devel, libcap-devel, flex, bison Vendor: collectd development team %if 0%{?el7:1} @@ -1585,6 +1585,9 @@ Collectd utilities %define _with_zookeeper --disable-zookeeper %endif +export YACC=bison +export YFLAGS=-y + %configure CFLAGS="%{optflags} -DLT_LAZY_OR_NOW=\"RTLD_LAZY|RTLD_GLOBAL\"" \ --disable-static \ --without-included-ltdl \