diff options
-rw-r--r-- | centos/rspamd.spec | 6 | ||||
-rw-r--r-- | debian/control | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/centos/rspamd.spec b/centos/rspamd.spec index 660f40dd5..fc447a85b 100644 --- a/centos/rspamd.spec +++ b/centos/rspamd.spec @@ -28,7 +28,11 @@ License: BSD2c %endif URL: https://rspamd.com BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} -BuildRequires: cmake,glib2-devel,gmime-devel,libevent-devel,openssl-devel,lua-devel,pcre-devel +%if 0%{?suse_version} +BuildRequires: cmake,glib2-devel,gmime-devel,libevent-devel,openssl-devel,lua-devel,pcre-devel,sqlite3-devel +%else +BuildRequires: cmake,glib2-devel,gmime-devel,libevent-devel,openssl-devel,lua-devel,pcre-devel,sqlite-devel +%endif Requires: lua, logrotate # for /user/sbin/useradd %if 0%{?suse_version} diff --git a/debian/control b/debian/control index f83005671..35e7391d9 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: rspamd Section: mail Priority: optional 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, liblua5.2-dev | liblua5.1-dev | liblua5.1-0-dev, libpcre3-dev, libssl-dev (>= 1.0), libcurl4-openssl-dev, libhiredis-dev, 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, liblua5.2-dev | liblua5.1-dev | liblua5.1-0-dev, libpcre3-dev, libssl-dev (>= 1.0), libcurl4-openssl-dev, libhiredis-dev, libsqlite3-dev, dh-systemd Standards-Version: 3.9.5 Homepage: https://rspamd.com Vcs-Git: git://github.com/vstakhov/rspamd.git |