| |
@@ -4,7 +4,7 @@
|
| |
Summary: Tools for searching and reading man pages
|
| |
Name: man-db
|
| |
Version: 2.8.7
|
| |
- Release: 1%{?dist}
|
| |
+ Release: 2%{?dist}
|
| |
# GPLv2+ .. man-db
|
| |
# GPLv3+ .. gnulib
|
| |
License: GPLv2+ and GPLv3+
|
| |
@@ -14,6 +14,7 @@
|
| |
Source1: man-db.crondaily
|
| |
Source2: man-db.sysconfig
|
| |
Source3: man-db-cache-update.service
|
| |
+ Source4: man-db-restart-cache-update.service
|
| |
Patch0: man-db-2.8.3-change-owner-of-man-cache.patch
|
| |
|
| |
# http://lists.nongnu.org/archive/html/man-db-devel/2017-01/msg00013.html
|
| |
@@ -91,8 +92,9 @@
|
| |
# config for tmpfiles.d
|
| |
install -D -p -m 0644 init/systemd/man-db.conf $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/.
|
| |
|
| |
- # man-db-cache-update.service
|
| |
+ # man-db-cache-update.service and man-db-restart-cache-update.service
|
| |
install -D -p -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_unitdir}/man-db-cache-update.service
|
| |
+ install -D -p -m 0644 %{SOURCE4} $RPM_BUILD_ROOT%{_unitdir}/man-db-restart-cache-update.service
|
| |
|
| |
%find_lang %{name}
|
| |
%find_lang %{name}-gnulib
|
| |
@@ -131,6 +133,7 @@
|
| |
%config(noreplace) %{_sysconfdir}/sysconfig/man-db
|
| |
%config(noreplace) %{_tmpfilesdir}/man-db.conf
|
| |
%{_unitdir}/man-db-cache-update.service
|
| |
+ %{_unitdir}/man-db-restart-cache-update.service
|
| |
%{_sbindir}/accessdb
|
| |
%{_bindir}/man
|
| |
%{_bindir}/whatis
|
| |
@@ -178,6 +181,11 @@
|
| |
%config(noreplace) %{_sysconfdir}/cron.daily/man-db.cron
|
| |
|
| |
%changelog
|
| |
+ * Fri Sep 27 2019 Nikola Forró <nforro@redhat.com> - 2.8.7-2
|
| |
+ - schedule interrupted cache update for the next boot, instead of blocking
|
| |
+ system reboot/shutdown
|
| |
+ resolves #1678464
|
| |
+
|
| |
* Fri Aug 30 2019 Nikola Forró <nforro@redhat.com> - 2.8.7-1
|
| |
- update to 2.8.7
|
| |
resolves #1747042
|
| |
If man-db-cache-update service is interrupted by a signal (reboot/shutdown), it enables man-db-restart-cache-update, to ensure it will run again on the next boot.