aboutsummaryrefslogtreecommitdiffstats
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
parent83034f4027106b76d3458d911619d53479c85ea5 (diff)
downloadrspamd-c14870dd22ed6bae832158f6ba52877f6324dc2b.tar.gz
rspamd-c14870dd22ed6bae832158f6ba52877f6324dc2b.zip
Remove hiredis from depends
-rw-r--r--centos/rspamd.spec5
-rw-r--r--debian/control2
2 files changed, 3 insertions, 4 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 \
diff --git a/debian/control b/debian/control
index 0c2ac8905..9e0006618 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: rspamd
Section: mail
Priority: extra
Maintainer: Mikhail Gusarov <dottedmag@debian.org>
-Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), cmake, libevent-dev (>= 1.3), libglib2.0-dev (>= 2.16.0), libgmime-2.6-dev, libluajit-5.1-dev [amd64 armel armhf i386 kfreebsd-i386 mips mipsel powerpc powerpcspe] | liblua5.1-dev, libpcre3-dev, libssl-dev (>= 1.0), libcurl4-openssl-dev, libhiredis-dev (>= 0.11.0-4), libsqlite3-dev, libmagic-dev, perl, dh-systemd
+Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), cmake, libevent-dev (>= 1.3), libglib2.0-dev (>= 2.16.0), libgmime-2.6-dev, libluajit-5.1-dev [amd64 armel armhf i386 kfreebsd-i386 mips mipsel powerpc powerpcspe] | liblua5.1-dev, libpcre3-dev, libssl-dev (>= 1.0), libcurl4-openssl-dev, libsqlite3-dev, libmagic-dev, perl, dh-systemd
Standards-Version: 3.9.6
Homepage: https://rspamd.com
Vcs-Git: git://github.com/vstakhov/rspamd.git