diff options
author | Remi Collet <remi@remirepo.net> | 2017-11-21 12:43:44 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-11-21 12:43:44 +0100 |
commit | 7dc4f3fe018f66a01c3e68bce9aef9d915924096 (patch) | |
tree | 006b23c91b907d306492d88bbe0a342e36473126 | |
parent | 6a47dde9bed3a499b6be9d841047c24a5cb4aedd (diff) |
minor
-rw-r--r-- | redis.spec | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -43,6 +43,7 @@ %global doc_commit 69a5512ae6a4ec77d7b1d0af6aac2224e8e83f95 %global short_doc_commit %(c=%{doc_commit}; echo ${c:0:7}) +# %%{rpmmacrodir} not usable on EL-6 %global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d) Name: redis @@ -369,7 +370,7 @@ fi %config(noreplace) %{_sysconfdir}/systemd/system/%{name}.service.d/limit.conf %dir %{_sysconfdir}/systemd/system/%{name}-sentinel.service.d %config(noreplace) %{_sysconfdir}/systemd/system/%{name}-sentinel.service.d/limit.conf -%dir %attr(0750, redis, redis) %ghost %{_localstatedir}/run/%{name} +%dir %attr(0755, redis, redis) %ghost %{_localstatedir}/run/%{name} %else %{_initrddir}/%{name} %{_initrddir}/%{name}-sentinel @@ -384,7 +385,7 @@ fi %files doc %docdir %{_docdir}/%{name} -%{_docdir}/%{name}/* +%{_docdir}/%{name} %if 0%{?with_redistrib} %files trib |