summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1f0156c)
raw | patch | inline | side by side (parent: 1f0156c)
author | Tagir Bakirov <tagir.bakirov@iqser.com> | |
Thu, 11 Jun 2015 10:26:51 +0000 (12:26 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 11 Jun 2015 16:32:36 +0000 (17:32 +0100) |
Current .spec does not work due to missing bison and flex dependencies.
This fix lets install bison and flex into the build environment as well as
define YACC and YFLAGS environment variables.
This fix lets install bison and flex into the build environment as well as
define YACC and YFLAGS environment variables.
contrib/redhat/collectd.spec | patch | blob | history |
index 9d491ff818e88986ca67046607636839019d22d1..1e32b27fd4133a9a887a716541008a69be3128d5 100644 (file)
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 <collectd@verplant.org>
%if 0%{?el7:1}
%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 \