commit logwatch for openSUSE:Factory
Hello community, here is the log from the commit of package logwatch for openSUSE:Factory checked in at 2019-08-09 16:54:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/logwatch (Old) and /work/SRC/openSUSE:Factory/.logwatch.new.9556 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "logwatch" Fri Aug 9 16:54:40 2019 rev:40 rq:721963 version:7.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/logwatch/logwatch.changes 2019-08-08 14:23:42.324346305 +0200 +++ /work/SRC/openSUSE:Factory/.logwatch.new.9556/logwatch.changes 2019-08-09 16:54:41.941449790 +0200 @@ -1,0 +2,5 @@ +Thu Aug 8 17:16:41 UTC 2019 - Christian Vögl <christian.voegl@suse.com> + +- Only use cron if systemd timers are not installed + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ logwatch.spec ++++++ --- /var/tmp/diff_new_pack.6g3cRY/_old 2019-08-09 16:54:42.517449651 +0200 +++ /var/tmp/diff_new_pack.6g3cRY/_new 2019-08-09 16:54:42.521449650 +0200 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -128,12 +128,11 @@ %if %{with systemd} install -D -m 644 scheduler/logwatch.service %{buildroot}%{_unitdir}/logwatch.service install -D -m 644 scheduler/logwatch.timer %{buildroot}%{_unitdir}/logwatch.timer -%endif -# Need a distro preset to enable timer; once that is in place, migrate from -# cron and don't install this symlink (make this an "else" clause): + +%else install -m 0755 -d %{buildroot}%{_sysconfdir}/cron.daily ln -s %{_datadir}/logwatch/scripts/logwatch.pl %{buildroot}%{_sysconfdir}/cron.daily/0logwatch - +%endif install -m 0755 -d %{buildroot}%{_sbindir} install -m 0755 -d %{buildroot}%{_sysconfdir}/cron.d install -m 0644 Logwatch_Setup_Files/dmeventd_cronjob.txt %{buildroot}%{_sysconfdir}/cron.d/dmeventd @@ -198,9 +197,9 @@ %if %{with systemd} %{_unitdir}/logwatch.service %{_unitdir}/logwatch.timer -%endif -# cron symlink should go away after systemd migration: +%else %{_sysconfdir}/cron.daily/0logwatch +%endif %doc %{_mandir}/man8/logwatch.8* %doc %{_mandir}/man5/*.conf.5* %config(noreplace) %{_sysconfdir}/logwatch/conf/*.conf
participants (1)
-
root