From a81189ceb4ea3832794cb2f7103ec44127074153 Mon Sep 17 00:00:00 2001 From: Ivana Varekova Date: Fri, 20 Oct 2006 13:30:12 +0000 Subject: [PATCH] - fix #204078 - missing /etc/logwatch/scripts/services - add yum service patch - fix #209554 - automount service problem --- logwatch.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/logwatch.spec b/logwatch.spec index 46f983a..8575884 100644 --- a/logwatch.spec +++ b/logwatch.spec @@ -1,13 +1,15 @@ Summary: A log file analysis program. Name: logwatch Version: 7.3.1 -Release: 1 +Release: 2%{?dist} License: MIT Group: Applications/System URL: http://www.logwatch.org/ Source: ftp://ftp.kaybee.org/pub/linux/logwatch-%{version}.tar.gz Patch2: logwatch-7.2.1-nosegfault.patch Patch8: logwatch-7.3-sshd.patch +Patch9: logwatch-7.3.1-yum.patch +Patch10: logwatch-7.3.1-automount.patch Requires: textutils sh-utils grep mailx BuildRoot: %{_tmppath}/logwatch-build @@ -23,6 +25,8 @@ of the package on many systems. %setup -q %patch2 -p1 %patch8 -p1 +%patch9 -p1 +%patch10 -p1 %install @@ -74,6 +78,8 @@ ln -s %{_datadir}/logwatch/scripts/logwatch.pl %{buildroot}%{_sysconfdir}/cron.d install -m 0755 -d %{buildroot}%{_sbindir} ln -s %{_datadir}/logwatch/scripts/logwatch.pl %{buildroot}%{_sbindir}/logwatch +install -m 0755 -d %{buildroot}%{_sysconfdir}/logwatch/scripts/services + echo "###### REGULAR EXPRESSIONS IN THIS FILE WILL BE TRIMMED FROM REPORT OUTPUT #####" > %{buildroot}%{_sysconfdir}/logwatch/conf/ignore.conf echo "# Local configuration options go here (defaults are in %{_datadir}/logwatch/default.conf/logwatch.conf)" > %{buildroot}%{_sysconfdir}/logwatch/conf/logwatch.conf echo "# Configuration overrides for specific logfiles/services may be placed here." > %{buildroot}%{_sysconfdir}/logwatch/conf/override.conf @@ -93,6 +99,7 @@ rm -rf %{buildroot} %dir %{_sysconfdir}/logwatch/scripts %dir %{_sysconfdir}/logwatch/conf/logfiles %dir %{_sysconfdir}/logwatch/conf/services +%dir %{_sysconfdir}/logwatch/scripts/services %dir %{_datadir}/logwatch %dir %{_datadir}/logwatch/default.conf %dir %{_datadir}/logwatch/default.conf/services @@ -124,7 +131,12 @@ rm -rf %{buildroot} %doc License project/CHANGES project/TODO %changelog -* Fri Oct 20 2006 Ivana Varekova 7.3.1-1 +* Fri Oct 20 2006 Ivana Varekova 7.3.1-2 +- fix #204078 - missing /etc/logwatch/scripts/services +- add yum service patch +- fix #209554 - automount service problem + +* Fri Oct 20 2006 Ivana Varekova 7.3.1-1 - update to 7.3.1 * Tue Aug 29 2006 Ivana Varekova 7.3-5