X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=contrib%2Fredhat%2Fcollectd.spec;h=fd4cb46fdc722cfd38bd8cc873948bbc445aa16e;hb=d143bc65a6984281b7c757fd5ea6ef27af5681bb;hp=9d491ff818e88986ca67046607636839019d22d1;hpb=cedb6f147e94d0e952449f731313412ef4d67904;p=collectd.git diff --git a/contrib/redhat/collectd.spec b/contrib/redhat/collectd.spec index 9d491ff8..fd4cb46f 100644 --- a/contrib/redhat/collectd.spec +++ b/contrib/redhat/collectd.spec @@ -214,6 +214,8 @@ %define with_write_mongodb 0%{!?_without_write_mongodb:0} # plugin xmms disabled, requires xmms %define with_xmms 0%{!?_without_xmms:0} +# plugin zone disabled, requires Solaris +%define with_zone 0%{!?_without_zone:0} Summary: statistics collection and monitoring daemon Name: collectd @@ -224,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} @@ -1571,12 +1573,21 @@ Collectd utilities %define _with_zfs_arc --disable-zfs_arc %endif +%if %{with_zone} +%define _with_zone --enable-zone +%else +%define _with_zone --disable-zone +%endif + %if %{with_zookeeper} %define _with_zookeeper --enable-zookeeper %else %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 \ @@ -1672,6 +1683,7 @@ Collectd utilities %{?_with_write_redis} \ %{?_with_xmms} \ %{?_with_zfs_arc} \ + %{?_with_zone} \ %{?_with_zookeeper} \ %{?_with_irq} \ %{?_with_load} \ @@ -2335,6 +2347,10 @@ fi %doc contrib/ %changelog +#* TODO: next feature release changelog +#- New upstream version +#- New plugins disabled by default: zone +# * Wed May 27 2015 Marc Fournier 5.5.0-1 - New upstream version - New plugins enabled by default: ceph, drbd, log_logstash, write_tsdb, smart,