From: Stephen Soltesz Date: Tue, 8 Apr 2008 20:50:19 +0000 (+0000) Subject: used the wrong spec file as a template. X-Git-Tag: Monitor-1.0-0~4 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=462da57afc5bc3cc9fb384641386fbeb1dccb1e4;p=monitor.git used the wrong spec file as a template. --- diff --git a/monitor.spec b/monitor.spec index 440550f..4cfd731 100644 --- a/monitor.spec +++ b/monitor.spec @@ -42,12 +42,12 @@ install -D -m 755 monitor.cron $RPM_BUILD_ROOT/%{_sysconfdir}/cron.d/monitor %clean rm -rf $RPM_BUILD_ROOT -%files %{name} +%files %defattr(-,root,root) %{_initrddir}/monitor %{_sysconfdir}/cron.d/monitor -%post %{slicefamily} +%post chkconfig --add monitor chkconfig monitor on