projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-5.5'
[collectd.git]
/
contrib
/
redhat
/
collectd.spec
diff --git
a/contrib/redhat/collectd.spec
b/contrib/redhat/collectd.spec
index
5e83b0f
..
fd4cb46
100644
(file)
--- 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
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}
Vendor: collectd development team <collectd@verplant.org>
%if 0%{?el7:1}
@@
-1585,6
+1585,9
@@
Collectd utilities
%define _with_zookeeper --disable-zookeeper
%endif
%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 \
%configure CFLAGS="%{optflags} -DLT_LAZY_OR_NOW=\"RTLD_LAZY|RTLD_GLOBAL\"" \
--disable-static \
--without-included-ltdl \