change frequency to hourly instead of daily.

This commit is contained in:
Dave Jones 2006-05-17 20:36:03 +00:00
parent e151b64ad5
commit b1b79438a3

View File

@ -28,13 +28,16 @@ cd ..
%install
mkdir -p %{buildroot}/usr/share/man/man{1,8}
mkdir -p %{buildroot}/etc/cron.daily
mkdir -p %{buildroot}/etc/cron.hourly
cd mcelog-%{version}
install mcelog %{buildroot}/usr/sbin/mcelog
install mcelog.cron %{buildroot}/etc/cron.daily/mcelog.cron
install mcelog.cron %{buildroot}/etc/cron.hourly/mcelog.cron
cp mcelog.8 %{buildroot}/usr/share/man/man8
cd ..
chmod -R a-s %{buildroot}
if [ -f /etc/cron.daily/mcelog.cron ]; then
rm -f /etc/cron.daily/mcelog.cron
fi
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
@ -42,12 +45,13 @@ chmod -R a-s %{buildroot}
%files
%defattr(-,root,root)
/usr/sbin/mcelog
/etc/cron.daily/mcelog.cron
/etc/cron.hourly/mcelog.cron
%attr(0644,root,root) %{_mandir}/*/*
%changelog
* Wed May 17 2006 Dave Jones <davej@redhat.com>
- Update to upstream 0.7
- Change frequency to hourly instead of daily.
* Thu Feb 09 2006 Dave Jones <davej@redhat.com>
- rebuild.