summaryrefslogtreecommitdiffstats
path: root/centos
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-25 13:00:38 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-25 13:07:59 +0100
commit35bebde01fe935e5e595bde5ed4219cc3c8486fb (patch)
tree9561a63799418ee4a06dec661f1f01ed5e370f0c /centos
parent2de1dbc8c34f785edfc898ca3df6134091118ae5 (diff)
downloadrspamd-35bebde01fe935e5e595bde5ed4219cc3c8486fb.tar.gz
rspamd-35bebde01fe935e5e595bde5ed4219cc3c8486fb.zip
[Minor] Create local dirs in packages
Diffstat (limited to 'centos')
-rw-r--r--centos/rspamd.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/centos/rspamd.spec b/centos/rspamd.spec
index d606e44a0..56714f224 100644
--- a/centos/rspamd.spec
+++ b/centos/rspamd.spec
@@ -108,6 +108,8 @@ lua.
%endif
%{__install} -d -p -m 0755 %{buildroot}%{rspamd_home}
+%{__install} -p -D -d -m 0755 %{buildroot}%{_sysconfdir}/%{name}/local.d/
+%{__install} -p -D -d -m 0755 %{buildroot}%{_sysconfdir}/%{name}/override.d/
%clean
rm -rf %{buildroot}
@@ -208,6 +210,8 @@ fi
%dir %{rspamd_rulesdir}
%dir %{rspamd_confdir}
%dir %{rspamd_confdir}/modules.d
+%dir %{rspamd_confdir}/local.d
+%dir %{rspamd_confdir}/override.d
%dir %{rspamd_pluginsdir}/lua
%dir %{rspamd_pluginsdir}
%dir %{rspamd_wwwdir}