summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1401d65)
raw | patch | inline | side by side (parent: 1401d65)
author | Kevin Bowling <kevin.bowling@kev009.com> | |
Thu, 14 Aug 2014 09:30:45 +0000 (02:30 -0700) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Fri, 22 Aug 2014 07:52:54 +0000 (09:52 +0200) |
Conflicts:
contrib/redhat/collectd.spec
contrib/redhat/collectd.spec
contrib/redhat/collectd.spec | patch | blob | history |
index 2e374c66481130b44b82ce7dd540e30496e1ee41..a5ca146c06b3eb503c09a36fc8475809c224abbf 100644 (file)
%{?el6:%global _has_recent_libganglia 1}
%{?el6:%global _has_working_libiptc 1}
%{?el6:%global _has_ip_vs_h 1}
-%{?el6:%global _has_perl_extutils_embed 1}
%{?el6:%global _has_libmodbus 1}
# plugins enabled by default
%define with_nut 0%{!?_without_nut:1}
%define with_olsrd 0%{!?_without_olsrd:1}
%define with_openvpn 0%{!?_without_openvpn:1}
-%define with_perl 0%{!?_without_perl:0%{?_has_perl_extutils_embed}}
+%define with_perl 0%{!?_without_perl:1}
%define with_pinba 0%{!?_without_pinba:1}
%define with_ping 0%{!?_without_ping:1}
%define with_postgresql 0%{!?_without_postgresql:1}
Group: System Environment/Daemons
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%if 0%{?rhel} >= 6
BuildRequires: perl-ExtUtils-Embed
+%else
+BuildRequires: perl
+%endif
%description perl
The Perl plugin embeds a Perl interpreter into collectd and exposes the
application programming interface (API) to Perl-scripts.