Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2019-11-11 12:57:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "man" Mon Nov 11 12:57:13 2019 rev:76 rq:745706 version:2.8.4 Changes: -------- --- /work/SRC/openSUSE:Factory/man/man.changes 2019-06-24 21:48:58.559901898 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.2990/man.changes 2019-11-11 12:57:15.909491742 +0100 @@ -1,0 +2,11 @@ +Wed Nov 6 08:48:22 UTC 2019 - Dr. Werner Fink <[email protected]> + +- Avoid racy bash code on waiting on find in do_mandb (boo#1155879) + +------------------------------------------------------------------- +Sun Nov 3 11:37:28 UTC 2019 - Dr. Werner Fink <[email protected]> + +- Use %{_prefix}/lib for tmpfiles.d directory to avoud to get this + nonexecutable location below new location of %{_libexecdir} + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ man.spec ++++++ --- /var/tmp/diff_new_pack.LhGVSu/_old 2019-11-11 12:57:17.925493876 +0100 +++ /var/tmp/diff_new_pack.LhGVSu/_new 2019-11-11 12:57:17.929493881 +0100 @@ -37,10 +37,10 @@ BuildRequires: man-pages BuildRequires: pkg-config BuildRequires: po4a -BuildRequires: pkgconfig(systemd) BuildRequires: update-alternatives BuildRequires: xz-devel BuildRequires: zlib-devel +BuildRequires: pkgconfig(systemd) Version: 2.8.4 Release: 0 Summary: A Program for Displaying man Pages @@ -87,7 +87,7 @@ Patch12: reproducible.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %global _sysconfdir /etc -%global _has_tmpfiled %(rpm -q -f /usr/lib/tmpfiles.d | grep -c filesystem) +%global _has_tmpfiled %(rpm -q -f %{_prefix}/lib/tmpfiles.d | grep -c filesystem) %description A program for displaying man pages on the screen or sending them to a @@ -326,7 +326,7 @@ %endif %posttrans -%{?tmpfiles_create:%tmpfiles_create %{_libexecdir}/tmpfiles.d/man-db.conf} +%{?tmpfiles_create:%tmpfiles_create %{_prefix}/lib/tmpfiles.d/man-db.conf} if test -d %{_localstatedir}/cache/man then mandb --quiet --create || : @@ -368,9 +368,9 @@ %{_libdir}/libman*.so %{_libexecdir}/man-db/zsoelim %if 0%{?_has_tmpfiled} == 0 -%dir %{_libexecdir}/tmpfiles.d +%dir %{_prefix}/lib/tmpfiles.d %endif -%{_libexecdir}/tmpfiles.d/man-db.conf +%{_prefix}/lib/tmpfiles.d/man-db.conf %if %{with sdtimer} %{_unitdir}/man-db-create.service %if 0%{suse_version} >= 1500 ++++++ cron.daily.do_mandb ++++++ --- /var/tmp/diff_new_pack.LhGVSu/_old 2019-11-11 12:57:17.957493910 +0100 +++ /var/tmp/diff_new_pack.LhGVSu/_new 2019-11-11 12:57:17.961493915 +0100 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # # do_mandb. This script was split off cron.daily. @@ -10,7 +10,7 @@ # # please send bugfixes or comments to [email protected]. # -# Author: Werner Fink <[email protected]>, 2008 +# Author: Werner Fink <[email protected]>, 2008, 2019 # Burchard Steinbild <[email protected]>, 1996 # Florian La Roche <[email protected]>, 1996 # @@ -49,8 +49,8 @@ test -d "${cp}" || continue db=${cp}/index.db if test -e ${db} ; then - find $mp -follow -newer $db | read -t 1 line - test $? -eq 0 || continue + path="$(find $mp -follow -newer $db 2>/dev/null)" + test -n "$path" || continue fi nice -n 5 ionice -c 3 mandb -qs ${mp} > /dev/null 2>&1 || let errors++ done
