summaryrefslogtreecommitdiffstats
path: root/redis.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-11-21 12:43:44 +0100
committerRemi Collet <remi@remirepo.net>2017-11-21 12:43:44 +0100
commit7dc4f3fe018f66a01c3e68bce9aef9d915924096 (patch)
tree006b23c91b907d306492d88bbe0a342e36473126 /redis.spec
parent6a47dde9bed3a499b6be9d841047c24a5cb4aedd (diff)
minor
Diffstat (limited to 'redis.spec')
-rw-r--r--redis.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/redis.spec b/redis.spec
index 619ea86..64c7f65 100644
--- a/redis.spec
+++ b/redis.spec
@@ -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