Hello community,
here is the log from the commit of package man for openSUSE:Factory checked in at 2015-06-01 09:25:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/man (Old)
and /work/SRC/openSUSE:Factory/.man.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "man"
Changes:
--------
--- /work/SRC/openSUSE:Factory/man/man.changes 2014-07-31 21:49:59.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2015-06-01 09:25:12.000000000 +0200
@@ -1,0 +2,66 @@
+Fri May 29 10:34:37 UTC 2015 - werner@suse.de
+
+- Own /usr/lib/tmpfiles.d if not owned by package filesystem
+
+-------------------------------------------------------------------
+Thu May 28 12:55:34 UTC 2015 - werner@suse.de
+
+- Update to version 2.7.1
+ For the first time since version 2.4.0, the database format has
+ changed slightly, so you will need to run 'mandb --create' after
+ installing the new version to rebuild your databases from scratch.
+- Fixes
+ * Various portability fixes for Solaris, contributed by Peter Bray.
+ * man now runs correctly when its current working directory has been
+ deleted. (As a result of this fix, man-db now requires
+ libpipeline >= 1.4.0.)
+ * 'man -a' sends its prompts to /dev/tty rather than to stderr, and
+ likewise reads replies from /dev/tty rather than from stdin.
+ * Be more careful to avoid using or double-closing closed database
+ handles. Fixes test suite failures on some systems.
+ * Patch the fdutimens function imported from Gnulib to work around a
+ libc bug in GNU/Hurd.
+ * Fix test suite in the case where the system supports
+ high-precision timestamps but the file system containing the build
+ directory does not.
+ * lexgrog now filters terminal escape sequences out of cat pages
+ before trying to parse them.
+ * Tools that consider the terminal line length now prioritise the
+ COLUMNS environment variable above the TIOCGWINSZ ioctl.
+ * Manpath elements are no longer canonicalised before being inserted
+ into the search path; this caused the use of incorrect catpaths in
+ some cases. This was broken by the LANGUAGE-handling fixes in
+ 2.5.4.
+ * Remove test suite dependency on realpath(1).
+ * Fix a test failure when configured with --enable-undoc.
+ * Run the pager in man's original working directory rather than in
+ the manual hierarchy. (As a result of this fix, man-db now
+ requires libpipeline >= 1.3.0.)
+ * mandb only creates a cache directory tag if the catpath is
+ different from the manpath, since it should only be created in
+ directories that consist entirely of cached information.
+- Improvements
+ * Ship a systemd tmpfiles snippet to clean up old cat files after a
+ week.
+ * The modification time of manual databases is now simply stored in
+ the mtime of the database files themselves, rather than using a
+ special row. This makes databases reproducible between
+ otherwise-identical installations, as long as the underlying
+ database has predictable behaviour. As a bonus, man-db now uses
+ high-precision timestamps to determine whether it needs to update
+ databases.
+ * Timestamps of manual pages are also now stored in the database
+ with high precision and compared accordingly.
+ * Files are now ordered by first physical extent before reading
+ them, for substantial performance improvements in operations such
+ as mandb and 'man -K'.
+ * 'man -H' shows a better error message if no browser is configured.
+ * zsoelim is now installed in $pkglibexecdir, to avoid clashes with
+ other packages.
+- Rename patches
+ man-db-2.6.5-firefox.dif becomes man-db-2.7.1-firefox.dif
+ man-db-2.6.5-security4.dif becomes man-db-2.7.1-security4.dif
+ man-db-2.6.5-zio.dif becomes man-db-2.7.1-zio.dif
+ man-db-2.6.5.dif becomes man-db-2.7.1.dif
+
+-------------------------------------------------------------------
Old:
----
man-db-2.6.5-firefox.dif
man-db-2.6.5-security4.dif
man-db-2.6.5-zio.dif
man-db-2.6.5.dif
man-db-2.6.6.tar.xz
New:
----
man-db-2.7.1-firefox.dif
man-db-2.7.1-security4.dif
man-db-2.7.1-zio.dif
man-db-2.7.1.dif
man-db-2.7.1.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ man.spec ++++++
--- /var/tmp/diff_new_pack.hm7oUb/_old 2015-06-01 09:25:13.000000000 +0200
+++ /var/tmp/diff_new_pack.hm7oUb/_new 2015-06-01 09:25:13.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package man
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -31,7 +31,7 @@
BuildRequires: po4a
BuildRequires: xz-devel
BuildRequires: zlib-devel
-Version: 2.6.6
+Version: 2.7.1
Release: 0
Summary: A Program for Displaying man Pages
License: GPL-2.0+
@@ -39,6 +39,7 @@
Url: https://savannah.nongnu.org/projects/man-db
PreReq: coreutils fillup
Provides: man_db
+Requires: cronie
Requires: glibc-locale
%if 0%{suse_version} > 1300
Recommends: groff-full
@@ -51,19 +52,20 @@
Source3: cron.daily.clean_catman
Source4: mancoding
Source5: wrapper.c
-Patch0: man-db-2.6.5.dif
+Patch0: man-db-2.7.1.dif
Patch1: man-db-2.6.3-man0.dif
Patch2: man-db-2.3.19deb4.0-groff.dif
Patch4: man-db-2.6.3-section.dif
-Patch5: man-db-2.6.5-security4.dif
-Patch6: man-db-2.6.5-firefox.dif
+Patch5: man-db-2.7.1-security4.dif
+Patch6: man-db-2.7.1-firefox.dif
Patch7: man-db-2.6.3-chinese.dif
-Patch9: man-db-2.6.5-zio.dif
+Patch9: man-db-2.7.1-zio.dif
Patch10: man-db-2.6.3-listall.dif
# PATCH-FIX-SUSE Fixes the documentation for bnc#786679
Patch11: man-MAN_POSIXLY_CORRECT-man1.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global _sysconfdir /etc
+%global _has_tmpfiled %(rpm -q -f /usr/lib/tmpfiles.d | grep -c filesystem)
%description
A program for displaying man pages on the screen or sending them to a
@@ -113,8 +115,12 @@
Cg g s m)
SEC="${SEC[@]}"
rm -f configure
-%global optflags %{optflags} -funroll-loops -pipe -D_GNU_SOURCE -D_SVID_SOURCE -Wall
- CFLAGS="%{optflags}"
+%global optflags %{optflags} -funroll-loops -pipe -Wall
+ if grep -q _DEFAULT_SOURCE /usr/include/features.h ; then
+ CFLAGS="%{optflags} -D_DEFAULT_SOURCE"
+ else
+ CFLAGS="%{optflags} -D_GNU_SOURCE -D_SVID_SOURCE"
+ fi
LDFLAGS=
LIBS=
LINGUAS=
@@ -224,8 +230,12 @@
test -d var/catman/ && rm -rf var/catman/ || true
%post
+%{?tmpfiles_create:%tmpfiles_create %{_libexecdir}/tmpfiles.d/man-db.conf}
%{fillup_only -an cron}
+%posttrans
+mandb --quiet --create
+
%files -f man-db.lang
%defattr(-,root,root)
%doc docs/COPYING
@@ -237,23 +247,22 @@
%{_bindir}/apropos
%{_bindir}/catman
%{_bindir}/lexgrog
-%if %suse_version > 1030
-%attr(0755,root,root) %{_bindir}/man
-%attr(0755,root,root) %{_bindir}/mandb
-%else
-%attr(4755,root,root) %{_bindir}/man
-%attr(4755,root,root) %{_bindir}/mandb
-%endif
+%{_bindir}/man
+%{_bindir}/mandb
%{_bindir}/manpath
%{_bindir}/whatis
-%{_bindir}/zsoelim
-%dir %attr(0755,root,root) %{_prefix}/lib/man-db
-%attr(0755,root,root) %{_prefix}/lib/man-db/man
-%attr(0755,root,root) %{_prefix}/lib/man-db/mandb
-%attr(0755,man,man) %{_prefix}/lib/man-db/manconv
-%attr(0755,man,man) %{_prefix}/lib/man-db/globbing
+%dir %attr(0755,root,root) %{_libexecdir}/man-db
+%attr(0755,root,root) %{_libexecdir}/man-db/man
+%attr(0755,root,root) %{_libexecdir}/man-db/mandb
+%attr(0755,man,man) %{_libexecdir}/man-db/manconv
+%attr(0755,man,man) %{_libexecdir}/man-db/globbing
%{_sbindir}/accessdb
%{_libdir}/libman*.so
+%{_libexecdir}/man-db/zsoelim
+%if 0%{?_has_tmpfiled} == 0
+%dir %{_libexecdir}/tmpfiles.d
+%endif
+%{_libexecdir}/tmpfiles.d/man-db.conf
%dir %{_datadir}/groff/site-tmac
%{_datadir}/groff/site-tmac/tmac.andb
%{_datadir}/groff/site-tmac/tmac.andocdb
@@ -261,7 +270,7 @@
%doc %{_mandir}/man5/*.5.gz
%doc %{_mandir}/man8/*.8.gz
%dir %{_mandir}/id
-%defattr(-,man,man)
+%defattr(-,man,root)
%ghost %{_localstatedir}/cache/man/*
%{_localstatedir}/adm/fillup-templates/sysconfig.cron-man
++++++ man-db-2.6.5-firefox.dif -> man-db-2.7.1-firefox.dif ++++++
--- /work/SRC/openSUSE:Factory/man/man-db-2.6.5-firefox.dif 2014-06-25 11:47:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.man.new/man-db-2.7.1-firefox.dif 2015-06-01 09:25:12.000000000 +0200
@@ -1,25 +1,30 @@
---
- src/man.c | 10 ++++++----
- 1 file changed, 6 insertions(+), 4 deletions(-)
+ src/man.c | 22 ++++++++++++----------
+ 1 file changed, 12 insertions(+), 10 deletions(-)
-diff --git src/man.c src/man.c
-index 10bcd4f..5c164ad 100644
--- src/man.c
-+++ src/man.c
-@@ -2316,22 +2316,24 @@ static void format_display (pipeline *decomp,
++++ src/man.c 2015-05-28 10:54:07.961519305 +0000
+@@ -1847,16 +1847,6 @@ static void format_display (pipeline *de
if (!status)
break;
}
-- if (!candidate)
-- error (CHILD_FAIL, 0,
-- "couldn't execute any browser from %s",
-- html_pager);
+- if (!candidate) {
+- if (html_pager && *html_pager)
+- error (CHILD_FAIL, 0,
+- "couldn't execute any browser from %s",
+- html_pager);
+- else
+- error (CHILD_FAIL, 0,
+- "no browser configured, so cannot show "
+- "HTML output");
+- }
free (browser_list);
- if (chdir (old_cwd) == -1) {
- error (0, errno, _("can't change to directory %s"),
- old_cwd);
+ if (have_old_cwd && restore_cwd (&old_cwd) < 0) {
+ error (0, errno,
+@@ -1864,11 +1854,23 @@ static void format_display (pipeline *de
chdir ("/");
}
+ free_cwd (&old_cwd);
+ if (!status)
+ sleep(5); /* firefox runs into background to fast */
if (remove_directory (htmldir, 0) == -1)
@@ -27,14 +32,16 @@
htmldir);
free (htmlfile);
free (htmldir);
- free (old_cwd);
-+ if (!candidate)
-+ error (CHILD_FAIL, 0,
-+ "couldn't execute any browser from %s",
-+ html_pager);
++ if (!candidate) {
++ if (html_pager && *html_pager)
++ error (CHILD_FAIL, 0,
++ "couldn't execute any browser from %s",
++ html_pager);
++ else
++ error (CHILD_FAIL, 0,
++ "no browser configured, so cannot show "
++ "HTML output");
++ }
} else
#endif /* TROFF_IS_GROFF */
/* TODO: check format_cmd status too? */
---
-1.8.4.5
-
++++++ man-db-2.6.5-security4.dif -> man-db-2.7.1-security4.dif ++++++
--- /work/SRC/openSUSE:Factory/man/man-db-2.6.5-security4.dif 2014-06-25 11:47:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.man.new/man-db-2.7.1-security4.dif 2015-06-01 09:25:12.000000000 +0200
@@ -1,11 +1,9 @@
---
- src/mandb.c | 12 ++++++++++++
+ src/mandb.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
-diff --git src/mandb.c src/mandb.c
-index 86b9e97..5b8c57d 100644
--- src/mandb.c
-+++ src/mandb.c
++++ src/mandb.c 2015-05-28 10:43:41.785520616 +0000
@@ -37,6 +37,7 @@
#include
participants (1)
-
root@hilbert.suse.de