From fb9e9b5270ed0d7ee00c4adacef0b7981ff1c2d0 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 24 Jan 2007 17:52:03 +0100 Subject: [PATCH] contrib/fedora/collectd.spec: Corrected the position of the init.d-script. --- contrib/fedora/collectd.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/contrib/fedora/collectd.spec b/contrib/fedora/collectd.spec index 169ce569..b21e8f2e 100644 --- a/contrib/fedora/collectd.spec +++ b/contrib/fedora/collectd.spec @@ -1,7 +1,7 @@ Summary: Statistics collection daemon for filling RRD files. Name: collectd Version: 3.11.0 -Release: 0 +Release: 0.fc0 Source: http://collectd.org/files/%{name}-%{version}.tar.gz License: GPL Group: System Environment/Daemons @@ -61,9 +61,8 @@ make install DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d mkdir -p $RPM_BUILD_ROOT/var/www/cgi-bin cp src/collectd.conf $RPM_BUILD_ROOT/etc/collectd.conf -cp contrib/init.d-fc $RPM_BUILD_ROOT/etc/rc.d/init.d/collectd +cp contrib/fedora/init.d-collectd $RPM_BUILD_ROOT/etc/rc.d/init.d/collectd cp contrib/collection.cgi $RPM_BUILD_ROOT/var/www/cgi-bin -#mv contrib/Collectd.pm contrib/Collectd.pm.DISABLED mkdir -p $RPM_BUILD_ROOT/var/lib/collectd rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la @@ -82,7 +81,6 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README -#%doc contrib %config /etc/collectd.conf %attr(0755,root,root) /etc/rc.d/init.d/collectd %attr(0755,root,root) /var/www/cgi-bin/collection.cgi -- 2.11.0