From: Ruben Kerkhof Date: Sun, 18 Nov 2012 09:14:29 +0000 (+0100) Subject: No need to edit collectd.conf anymore. X-Git-Tag: collectd-5.2.2~10^2~7 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=22110a36bc04bf1361b77a007efaf17f4a31a27c;p=collectd.git No need to edit collectd.conf anymore. This was fixed by in commit 25fa4ad --- diff --git a/contrib/redhat/collectd.spec b/contrib/redhat/collectd.spec index e07f95f9..152fb395 100644 --- a/contrib/redhat/collectd.spec +++ b/contrib/redhat/collectd.spec @@ -351,11 +351,6 @@ rm -f %{buildroot}/%{_libdir}/{collectd/,}*.la mkdir perl-examples find contrib -name '*.p[lm]' -exec mv {} perl-examples/ \; -# Modify config for Red Hat based Distros -sed -i 's:#BaseDir *"/usr/var/lib/collectd":BaseDir "%{_sharedstatedir}/collectd":' %{buildroot}%{_sysconfdir}/collectd.conf -sed -i 's:#PIDFile *"/usr/var/run/collectd.pid":PIDFile "%{_localstatedir}/run/collectd.pid":' %{buildroot}%{_sysconfdir}/collectd.conf -sed -i 's:#PluginDir *"/usr/lib/collectd":PluginDir "%{_libdir}/collectd":' %{buildroot}%{_sysconfdir}/collectd.conf - # Remove Perl hidden .packlist files. find %{buildroot} -type f -name .packlist -delete # Remove Perl temporary file perllocal.pod