aboutsummaryrefslogtreecommitdiffstats
path: root/centos/rspamd.spec
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-11 16:34:34 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-11 16:34:34 +0000
commitc14870dd22ed6bae832158f6ba52877f6324dc2b (patch)
treec727c04ac5d29b44fe4fbe8ec7c7e2df6ec28e37 /centos/rspamd.spec
parent83034f4027106b76d3458d911619d53479c85ea5 (diff)
downloadrspamd-c14870dd22ed6bae832158f6ba52877f6324dc2b.tar.gz
rspamd-c14870dd22ed6bae832158f6ba52877f6324dc2b.zip
Remove hiredis from depends
Diffstat (limited to 'centos/rspamd.spec')
-rw-r--r--centos/rspamd.spec5
1 files changed, 2 insertions, 3 deletions
diff --git a/centos/rspamd.spec b/centos/rspamd.spec
index 31ec2eabf..7a22122ae 100644
--- a/centos/rspamd.spec
+++ b/centos/rspamd.spec
@@ -39,7 +39,7 @@ BuildRequires: sqlite-devel
Requires(pre): shadow-utils
%endif
%if 0%{?fedora_version} >= 22 || 0%{?suse_version} >= 1320
-BuildRequires: luajit-devel,hiredis-devel
+BuildRequires: luajit-devel
%else
BuildRequires: lua-devel
%endif
@@ -85,11 +85,10 @@ lua.
%endif
%if 0%{?fedora_version} >= 22 || 0%{?suse_version} >= 1320
-DENABLE_LUAJIT=ON \
- -DENABLE_HIREDIS=ON \
%else
-DENABLE_LUAJIT=OFF \
- -DENABLE_HIREDIS=OFF \
%endif
+ -DENABLE_HIREDIS=ON \
-DLOGDIR=%{_localstatedir}/log/rspamd \
-DEXAMPLESDIR=%{_datadir}/examples/rspamd \
-DPLUGINSDIR=%{_datadir}/rspamd \