From a9ed46ea58065ec168a5bcf5c5c68637e16801e0 Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Wed, 15 Oct 2014 09:50:58 +0200 Subject: [PATCH] switch man and root in init/systemd/man-db.conf - related: #1151558 --- ...and-root-in-init-systemd-man-db.conf.patch | 19 +++++++++++++++++++ man-db.spec | 9 +++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 1151558-switch-man-and-root-in-init-systemd-man-db.conf.patch diff --git a/1151558-switch-man-and-root-in-init-systemd-man-db.conf.patch b/1151558-switch-man-and-root-in-init-systemd-man-db.conf.patch new file mode 100644 index 0000000..b91e6d0 --- /dev/null +++ b/1151558-switch-man-and-root-in-init-systemd-man-db.conf.patch @@ -0,0 +1,19 @@ +From 1d523a44a5ad360c83bff362a625cc68cbe7f296 Mon Sep 17 00:00:00 2001 +From: Jan Chaloupka +Date: Wed, 15 Oct 2014 09:46:56 +0200 +Subject: [PATCH] switch man and root in init/systemd/man-db.conf + +--- + init/systemd/man-db.conf | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/init/systemd/man-db.conf b/init/systemd/man-db.conf +index 10b27b4..43dd2ad 100644 +--- a/init/systemd/man-db.conf ++++ b/init/systemd/man-db.conf +@@ -1 +1 @@ +-d /var/cache/man 2755 man root 1w ++d /var/cache/man 2755 root man 1w +-- +1.9.3 + diff --git a/man-db.spec b/man-db.spec index 040ece6..c4c75e7 100644 --- a/man-db.spec +++ b/man-db.spec @@ -4,7 +4,7 @@ Summary: Tools for searching and reading man pages Name: man-db Version: 2.7.0.2 -Release: 4%{?dist} +Release: 5%{?dist} # GPLv2+ .. man-db # GPLv3+ .. gnulib License: GPLv2+ and GPLv3+ @@ -14,6 +14,7 @@ URL: http://www.nongnu.org/man-db/ Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz Source1: man-db.service Source2: man-db.timer +Patch0: 1151558-switch-man-and-root-in-init-systemd-man-db.conf.patch Obsoletes: man < 2.0 Provides: man = %{version} @@ -34,7 +35,7 @@ for manual pages. lexgrog directly reads header information in manual pages. %prep -%setup -q +%autosetup -p1 %build %configure \ @@ -133,6 +134,10 @@ fi %lang(zh_CN) %{_datadir}/man/zh_CN/man*/* %changelog +* Wed Oct 15 2014 jchaloup - 2.7.0.2-5 +- switch man and root in init/systemd/man-db.conf + related: #1151558 + * Mon Oct 13 2014 jchaloup - 2.7.0.2-4 - preun missing condition on number of man-db packages installed related: #1151558