Code

Revert "contrib/redhat/collectd.spec: added bison and flex"
authorMarc Fournier <marc.fournier@camptocamp.com>
Mon, 15 Jun 2015 14:09:50 +0000 (16:09 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Mon, 15 Jun 2015 14:09:50 +0000 (16:09 +0200)
This reverts commit 38203b1c8d8a8e5e567d7f6783dd8b88a2487070.

A misunderstanding about which tarball to use with the RPM specfile led
us here. See #1079 for the whole conversation.

contrib/redhat/collectd.spec

index 1e32b27fd4133a9a887a716541008a69be3128d5..9d491ff818e88986ca67046607636839019d22d1 100644 (file)
@@ -224,7 +224,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, flex, bison
+BuildRequires: libgcrypt-devel, kernel-headers, libtool-ltdl-devel, libcap-devel
 Vendor:                collectd development team <collectd@verplant.org>
 
 %if 0%{?el7:1}
@@ -1577,9 +1577,6 @@ 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 \