- adapterized (killed trailing spaces/tabs)
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 28 Feb 2006 23:37:25 +0000 (23:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    collectd.spec -> 1.3

collectd.spec

index beec8b336a512c4c9c70963194d6d9c568faadf4..21313ca539f5999ac5ee7e578d71a5304dcc122b 100644 (file)
@@ -12,7 +12,7 @@ Name:         collectd
 Version:       3.7.1
 Release:       0.1
 License:       GPL v2
-Group:         Unknow
+Group:         Daemons
 Source0:       http://verplant.org/collectd/files/%{name}-%{version}.tar.gz
 # Source0-md5: dc2120fad388e5fc8bc486b4fcadc68e
 URL:           http://verplant.org/collectd/
@@ -66,17 +66,17 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
-       
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/collectd.conf
+
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post 
+%post
 /sbin/chkconfig --add %{name}
 %service %{name} restart
 
-%preun 
+%preun
 if [ "$1" = "0" ]; then
        %service -q %{name} stop
        /sbin/chkconfig --del %{name}
This page took 0.029674 seconds and 4 git commands to generate.