diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-29 10:17:11 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-29 10:17:11 +0100 |
commit | 53632b619666d67d14640b1dc0832b2ab6eb8aa8 (patch) | |
tree | 4345f9054320a55298e6edf1d6f488e3bbee243f /centos/rspamd.spec | |
parent | 748659036ec90f9613315825ce4597031fbce5c6 (diff) | |
download | rspamd-53632b619666d67d14640b1dc0832b2ab6eb8aa8.tar.gz rspamd-53632b619666d67d14640b1dc0832b2ab6eb8aa8.zip |
[Minor] Enable libunwind in packages
Diffstat (limited to 'centos/rspamd.spec')
-rw-r--r-- | centos/rspamd.spec | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/centos/rspamd.spec b/centos/rspamd.spec index b16e070de..d2b493085 100644 --- a/centos/rspamd.spec +++ b/centos/rspamd.spec @@ -16,7 +16,7 @@ License: ASL 2.0 URL: https://rspamd.com BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} BuildRequires: glib2-devel,libevent-devel,openssl-devel,pcre-devel -BuildRequires: cmake,gmime-devel,file-devel,ragel +BuildRequires: cmake,gmime-devel,file-devel,ragel,libunwind-devel %if 0%{?el6} BuildRequires: perl %else @@ -81,11 +81,10 @@ lua. -DCMAKE_SKIP_INSTALL_RPATH=ON \ %endif %if 0%{?fedora_version} >= 22 || 0%{?suse_version} >= 1320 - -DENABLE_LUAJIT=ON \ + -DENABLE_LUAJIT=ON \ %else - -DENABLE_LUAJIT=OFF \ + -DENABLE_LUAJIT=OFF \ %endif - -DENABLE_HIREDIS=ON \ -DLOGDIR=%{_localstatedir}/log/rspamd \ -DEXAMPLESDIR=%{_datadir}/examples/rspamd \ -DPLUGINSDIR=%{_datadir}/rspamd \ @@ -94,7 +93,8 @@ lua. -DNO_SHARED=ON \ -DDEBIAN_BUILD=1 \ -DRSPAMD_GROUP=%{rspamd_group} \ - -DRSPAMD_USER=%{rspamd_user} + -DRSPAMD_USER=%{rspamd_user} \ + -DENABLE_LIBUNWIND=ON %{__make} %{?jobs:-j%jobs} |