From f430f239ae2680129e197764efac64a37fec92ff Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 23 Jun 2015 14:37:26 +0100 Subject: [PATCH] Try to fix build on suse. --- centos/rspamd.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/centos/rspamd.spec b/centos/rspamd.spec index 0fe28de2a..ee1d9e612 100644 --- a/centos/rspamd.spec +++ b/centos/rspamd.spec @@ -82,6 +82,9 @@ lua. %else -DWANT_SYSTEMD_UNITS=ON \ -DSYSTEMDDIR=%{_unitdir} \ +%endif +%if 0%{?suse_version} + -DCMAKE_SKIP_INSTALL_RPATH=ON \ %endif -DLOGDIR=%{_localstatedir}/log/rspamd \ -DEXAMPLESDIR=%{_datadir}/examples/rspamd \ -- 2.39.5