From c14870dd22ed6bae832158f6ba52877f6324dc2b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 11 Jan 2016 16:34:34 +0000 Subject: [PATCH] Remove hiredis from depends --- centos/rspamd.spec | 5 ++--- debian/control | 2 +- 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 -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 -- 2.39.5