Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package logwatch for openSUSE:Factory checked in at 2022-09-28 17:51:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/logwatch (Old) and /work/SRC/openSUSE:Factory/.logwatch.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "logwatch" Wed Sep 28 17:51:55 2022 rev:48 rq:1006578 version:7.7 Changes: -------- --- /work/SRC/openSUSE:Factory/logwatch/logwatch.changes 2022-09-27 20:16:10.730121431 +0200 +++ /work/SRC/openSUSE:Factory/.logwatch.new.2275/logwatch.changes 2022-09-28 17:51:58.303258632 +0200 @@ -1,0 +2,6 @@ +Sat Sep 24 09:29:00 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- update to 7.7: + * various warning fixes + +------------------------------------------------------------------- Old: ---- logwatch-7.5.5.tar.gz New: ---- logwatch-7.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ logwatch.spec ++++++ --- /var/tmp/diff_new_pack.6mG9Vq/_old 2022-09-28 17:51:59.391260820 +0200 +++ /var/tmp/diff_new_pack.6mG9Vq/_new 2022-09-28 17:51:59.391260820 +0200 @@ -17,13 +17,12 @@ Name: logwatch +Version: 7.7 +Release: 0 Summary: Tool to analyze and report on system logs License: MIT Group: System/Monitoring -Version: 7.5.5 -Release: 0 URL: https://sourceforge.net/projects/logwatch/ -BuildArch: noarch Source0: https://sourceforge.net/projects/logwatch/files/%{name}-%{version}/%{name}-%{version}.tar.gz Source1: %{name}-rpmlintrc Source2: Logwatch_Dmeventd_Setup_Files.tar.xz @@ -34,22 +33,20 @@ Patch4: harden_logwatch_dmeventd.service.patch # PATCH-FIX-UPSTREAM https://sourceforge.net/p/logwatch/bugs/109/ Patch5: logwatch-7.5.5-egrep.patch +BuildRequires: xz Requires: grep Requires: mailx Requires: perl Requires: perl-Date-Manip Requires: sh-utils Requires: textutils -BuildRequires: xz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch # The main reason for using systemd timers for logwatch is on distros which # use timers for logrotate, to keep logwatch running before logrotate, as it # does where both use cron.daily. We don't need to use systemd timers on all # distros with systemd, just those with logrotate.timer, which for SUSE is # SLE 12 SP3/Leap 42.3 and newer (including 15.x). - %{?systemd_requires} - %if 0%{?suse_version} BuildRequires: systemd-rpm-macros %else @@ -66,9 +63,9 @@ chmod u+w Logwatch_Setup_Files/* %patch0 %patch2 -cp %{S:3} . +cp %{SOURCE3} . # fix package doc dir in man page -sed -i -e 's,/usr/share/doc/logwatch-\*,%{_defaultdocdir}/logwatch,' logwatch.8 +sed -i -e 's,%{_datadir}/doc/logwatch-\*,%{_defaultdocdir}/logwatch,' logwatch.8 %patch3 -p1 %patch4 -p1 %patch5 -p1 @@ -89,7 +86,7 @@ install -m 0755 -d %{buildroot}%{_datadir}/logwatch/scripts/services install -m 0755 -d %{buildroot}%{_datadir}/logwatch/scripts/shared install -m 0755 -d %{buildroot}%{_datadir}/logwatch/lib -install -m 0755 -d %{buildroot}/var/lib/logwatch +install -m 0755 -d %{buildroot}%{_localstatedir}/lib/logwatch install -m 0755 scripts/logwatch.pl %{buildroot}%{_datadir}/logwatch/scripts/logwatch.pl for i in scripts/logfiles/* ; do if [ $(ls $i | wc -l) -ne 0 ] ; then @@ -152,7 +149,6 @@ %service_del_postun %{name}.service %{name}.timer logwatch_dmeventd.service logwatch_dmeventd.timer %files -%defattr(-,root,root) %doc README HOWTO-Customize-LogWatch ChangeLog %dir %{_var}/cache/logwatch %dir %{_sysconfdir}/logwatch @@ -174,7 +170,7 @@ %dir %{_datadir}/logwatch/scripts/shared %dir %{_datadir}/logwatch/scripts/logfiles/* %dir %{_datadir}/logwatch/lib -%dir /var/lib/logwatch +%dir %{_localstatedir}/lib/logwatch %{_datadir}/logwatch/scripts/logwatch.pl %{_sbindir}/logwatch %{_datadir}/logwatch/scripts/shared/* @@ -193,8 +189,8 @@ %{_unitdir}/logwatch_dmeventd.timer %{_sbindir}/rclogwatch %{_sbindir}/rclogwatch_dmeventd -%doc %{_mandir}/man8/logwatch.8* -%doc %{_mandir}/man5/*.conf.5* +%{_mandir}/man8/logwatch.8%{?ext_man} +%{_mandir}/man5/*.conf.5%{?ext_man} %config(noreplace) %{_sysconfdir}/logwatch/conf/*.conf %changelog ++++++ logwatch-7.5.5-egrep.patch ++++++ --- /var/tmp/diff_new_pack.6mG9Vq/_old 2022-09-28 17:51:59.443260926 +0200 +++ /var/tmp/diff_new_pack.6mG9Vq/_new 2022-09-28 17:51:59.443260926 +0200 @@ -2,10 +2,10 @@ Date: Thu, 22 Sep 2022 21:53:27 +0200 References: boo#1293665 -Index: logwatch-7.5.5/scripts/logwatch.pl +Index: logwatch-7.7/scripts/logwatch.pl =================================================================== ---- logwatch-7.5.5.orig/scripts/logwatch.pl -+++ logwatch-7.5.5/scripts/logwatch.pl +--- logwatch-7.7.orig/scripts/logwatch.pl ++++ logwatch-7.7/scripts/logwatch.pl @@ -702,7 +702,7 @@ $ENV{'LOGWATCH_NUMERIC'} = $Config{'nume $ENV{'HOSTNAME'} = $Config{'hostname'}; $ENV{'OSname'} = $OSname; @@ -15,7 +15,7 @@ #split and splitmail also play with LOGWATCH_ONLY_HOSTNAME which is not shown by debug if ($Config{'hostlimit'}) { -@@ -1399,11 +1399,11 @@ sub parselogs { +@@ -1401,11 +1401,11 @@ sub parselogs { $Command = " ( $Config{'pathtocat'} $FileText| " ; if ($ServiceData{$Service}{pre_ignore}) { if ($no_egrep) { @@ -29,13 +29,13 @@ } } if ($HostStrip ne " ") { -Index: logwatch-7.5.5/scripts/shared/onlycontains +Index: logwatch-7.7/scripts/shared/onlycontains =================================================================== ---- logwatch-7.5.5.orig/scripts/shared/onlycontains -+++ logwatch-7.5.5/scripts/shared/onlycontains -@@ -18,9 +18,9 @@ - ## copyright please contact logwatch-de...@lists.sourceforge.net. - ######################################################### +--- logwatch-7.7.orig/scripts/shared/onlycontains ++++ logwatch-7.7/scripts/shared/onlycontains +@@ -20,9 +20,9 @@ + + use strict; -# Just does a case-insensitive egrep ;) +# Just does a case-insensitive grep -E ;) @@ -45,13 +45,13 @@ # vi: shiftwidth=3 syntax=perl tabstop=3 et # Local Variables: -Index: logwatch-7.5.5/scripts/shared/remove +Index: logwatch-7.7/scripts/shared/remove =================================================================== ---- logwatch-7.5.5.orig/scripts/shared/remove -+++ logwatch-7.5.5/scripts/shared/remove -@@ -18,10 +18,10 @@ - ## copyright please contact logwatch-de...@lists.sourceforge.net. - ######################################################### +--- logwatch-7.7.orig/scripts/shared/remove ++++ logwatch-7.7/scripts/shared/remove +@@ -20,10 +20,10 @@ + + use strict; -# Just a case-insensitive, inverse egrep +# Just a case-insensitive, inverse grep -E ++++++ logwatch-7.5.5.tar.gz -> logwatch-7.7.tar.gz ++++++ ++++ 13468 lines of diff (skipped)