Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2023-07-26 13:22:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.15225 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "man" Wed Jul 26 13:22:00 2023 rev:93 rq:1100562 version:2.10.2 Changes: -------- --- /work/SRC/openSUSE:Factory/man/man.changes 2022-08-24 15:10:45.396480987 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.15225/man.changes 2023-07-26 13:22:05.519363566 +0200 @@ -1,0 +2,13 @@ +Thu May 25 06:37:13 UTC 2023 - Dr. Werner Fink <[email protected]> + +- Remove harden_man-db.service.patch as already done upstream + at the end of the service file man-db.service + +------------------------------------------------------------------- +Mon Apr 3 14:39:03 UTC 2023 - Dominique Leuenberger <[email protected]> + +- Add man-propose-online.patch: if patch was not found locally, + propose to read it online, offering a URL where it could possibly + be found. + +------------------------------------------------------------------- Old: ---- harden_man-db.service.patch New: ---- man-propose-online.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ man.spec ++++++ --- /var/tmp/diff_new_pack.xGepz5/_old 2023-07-26 13:22:09.239384622 +0200 +++ /var/tmp/diff_new_pack.xGepz5/_new 2023-07-26 13:22:09.247384667 +0200 @@ -1,7 +1,7 @@ # # spec file for package man # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -57,7 +57,8 @@ # PATCH-FEATURE-OPENSUSE -- Add documentation about man0 section (header files) Patch9: man-db-2.6.3-man0.dif Patch10: man-db-2.9.4-alternitive.dif -Patch11: harden_man-db.service.patch +# PATCH-FEATURE-OPENSUSE -- Propose to read man pages online +Patch12: man-propose-online.patch BuildRequires: automake BuildRequires: flex BuildRequires: gdbm-devel @@ -107,7 +108,7 @@ %patch9 -b .p9 %patch10 -b .libalernative rm -f configure -%patch11 -p1 -b .p11 +%patch12 -p1 -b .p12 %build %global optflags %{optflags} -funroll-loops -pipe -Wall ++++++ man-propose-online.patch ++++++ diff -ur man-db-2.10.2/src/man.c man-db-2.10.2.patch/src/man.c --- man-db-2.10.2/src/man.c 2022-03-17 19:41:27.000000000 +0100 +++ man-db-2.10.2.patch/src/man.c 2023-04-03 17:13:05.944119389 +0200 @@ -738,11 +738,16 @@ } #endif - if (sec) + if (sec) { fprintf (stderr, _("No manual entry for %s in section %s\n"), name, sec); - else + fprintf (stderr, _("Possibly, man the page is not installed, try online at: ")); + fprintf (stderr, _("https://manpages.opensuse.org/%s.%s\n"), name, sec); + } else { fprintf (stderr, _("No manual entry for %s\n"), name); + fprintf (stderr, _("Possibly, man page is not installed, try online at: ")); + fprintf (stderr, _("https://manpages.opensuse.org/%s\n"), name); + } #ifdef UNDOC_COMMAND if (getenv ("MAN_TEST_DISABLE_UNDOCUMENTED") == NULL && diff -ur man-db-2.10.2/src/tests/man-invalid-db-entry man-db-2.10.2.patch/src/tests/man-invalid-db-entry --- man-db-2.10.2/src/tests/man-invalid-db-entry 2022-03-17 19:41:27.000000000 +0100 +++ man-db-2.10.2.patch/src/tests/man-invalid-db-entry 2023-04-03 17:13:55.256508193 +0200 @@ -25,6 +25,8 @@ rm -f "$tmpdir/usr/share/man/man1/test.1" echo "No manual entry for test" > "$tmpdir/1.exp" +echo "Possibly, man page is not installed, try online at: https://manpages.opensuse.org/test" >> "$tmpdir/1.exp" + LC_ALL=C run $MAN -C "$tmpdir/manpath.config" test 2> "$tmpdir/1.out" expect_files_equal 'invalid DB entry' "$tmpdir/1.exp" "$tmpdir/1.out"
