Hello community,

here is the log from the commit of package logwatch for openSUSE:Factory 
checked in at 2018-11-05 22:55:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/logwatch (Old)
 and      /work/SRC/openSUSE:Factory/.logwatch.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "logwatch"

Mon Nov  5 22:55:48 2018 rev:38 rq:646088 version:7.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/logwatch/logwatch.changes        2018-01-22 
16:22:28.606825557 +0100
+++ /work/SRC/openSUSE:Factory/.logwatch.new/logwatch.changes   2018-11-05 
22:55:55.812014831 +0100
@@ -1,0 +2,7 @@
+Mon Oct 22 21:54:25 UTC 2018 - adaugher...@tamu.edu
+
+- fix documentation path in logwatch(8) man page
+- install missing logwatch.conf(5) man page
+  => logwatch-conf-5.patch
+
+-------------------------------------------------------------------

New:
----
  logwatch-conf-5.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ logwatch.spec ++++++
--- /var/tmp/diff_new_pack.3A5pP9/_old  2018-11-05 22:55:57.600012569 +0100
+++ /var/tmp/diff_new_pack.3A5pP9/_new  2018-11-05 22:55:57.604012564 +0100
@@ -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/
 #
 
 
@@ -32,6 +32,7 @@
 Patch0:         logwatch-firewall.patch
 Patch2:         logwatch-timestamp_in_var.patch
 Patch3:         logwatch-dmeventd-reduce_frequency.patch
+Patch4:         logwatch-conf-5.patch
 Requires:       cron
 Requires:       grep
 Requires:       mailx
@@ -54,8 +55,11 @@
 %patch0
 %patch2
 %patch3
+%patch4 -p1
 dos2unix scripts/services/courier
 cp %{S:3} %{S:4} .
+# fix package doc dir in man page
+sed -i -e 's,/usr/share/doc/logwatch-\*,%{_defaultdocdir}/logwatch,' logwatch.8
 
 %build
 
@@ -92,6 +96,12 @@
 install -m 0644 conf/html/* %{buildroot}%{_datadir}/logwatch/default.conf/html
 install -m 0755 -d %{buildroot}%{_mandir}/man8
 install -m 0644 logwatch.8 %{buildroot}%{_mandir}/man8
+install -m 0755 -d %{buildroot}%{_mandir}/man5
+install -m 0644 logwatch.conf.5 %{buildroot}%{_mandir}/man5
+# replace man page alias files with symlinks
+for f in {ignore,override}.conf.5; do
+    ln -s logwatch.conf.5 %{buildroot}%{_mandir}/man5/$f
+done
 rm -f   %{buildroot}%{_sysconfdir}/cron.daily/logwatch \
    %{buildroot}%{_sbindir}/logwatch
 install -m 0755 -d %{buildroot}%{_sysconfdir}/cron.daily
@@ -142,6 +152,7 @@
 %{_datadir}/logwatch/default.conf/html/*.html
 %{_sysconfdir}/cron.daily/0logwatch
 %doc %{_mandir}/man8/logwatch.8*
+%doc %{_mandir}/man5/*.conf.5*
 %config(noreplace) %{_sysconfdir}/logwatch/conf/*.conf
 
 %changelog

++++++ logwatch-conf-5.patch ++++++
diff --git a/logwatch.conf.5 b/logwatch.conf.5
index 68dd949..ca8c56b 100644
--- a/logwatch.conf.5
+++ b/logwatch.conf.5
@@ -29,8 +29,7 @@ log/service files.
 
 .SH FILES
 .I /etc/logwatch/conf/logwatch.conf
-.I /etc/logwatch/conf/logwatch.conf
-.I /etc/logwatch/conf/logwatch.conf
+.br
 .I /usr/share/logwatch/default.conf/logwatch.conf
 
 .SH "SEE ALSO"

Reply via email to