switch man and root in init/systemd/man-db.conf

- related: #1151558
This commit is contained in:
Jan Chaloupka 2014-10-15 09:50:58 +02:00
parent 09ab1a7e0f
commit a9ed46ea58
2 changed files with 26 additions and 2 deletions

View File

@ -0,0 +1,19 @@
From 1d523a44a5ad360c83bff362a625cc68cbe7f296 Mon Sep 17 00:00:00 2001
From: Jan Chaloupka <jchaloup@redhat.com>
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

View File

@ -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 <jchaloup@redhat.com> - 2.7.0.2-5
- switch man and root in init/systemd/man-db.conf
related: #1151558
* Mon Oct 13 2014 jchaloup <jchaloup@redhat.com> - 2.7.0.2-4
- preun missing condition on number of man-db packages installed
related: #1151558