From 2466a5bd72eabc0346a7cd40fc115b557b90d40936ca9253e5fc069e48b016ad Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Mon, 4 Apr 2022 12:07:32 +0000 Subject: [PATCH] Accepting request 966787 from home:wrosenauer:devel - pcre2 is required; so removing any conditions around it to fix build for Leap OBS-URL: https://build.opensuse.org/request/show/966787 OBS-URL: https://build.opensuse.org/package/show/server:mail/rspamd?expand=0&rev=72 --- rspamd.changes | 6 ++++++ rspamd.spec | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/rspamd.changes b/rspamd.changes index d63f5a9..65ed703 100644 --- a/rspamd.changes +++ b/rspamd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 4 09:18:43 UTC 2022 - Wolfgang Rosenauer + +- pcre2 is required; so removing any conditions around it + to fix build for Leap + ------------------------------------------------------------------- Sat Mar 26 17:02:38 UTC 2022 - Michael Ströder diff --git a/rspamd.spec b/rspamd.spec index 957346f..f48ae9b 100644 --- a/rspamd.spec +++ b/rspamd.spec @@ -41,7 +41,6 @@ %if 0%{?suse_version} >= 1500 %bcond_without openblas - %bcond_with pcre2 %endif # fails to build atm @@ -94,10 +93,7 @@ BuildRequires: lua-devel %if %{with openblas} BuildRequires: openblas-devel %endif -BuildRequires: pcre-devel -%if %{with pcre2} BuildRequires: pcre2-devel -%endif BuildRequires: pkgconfig BuildRequires: pkgconfig(fmt) BuildRequires: pkgconfig(glib-2.0) >= 2.28 @@ -225,9 +221,7 @@ export CXX="g++-%{?force_gcc_version}" %if %{with utils} -DENABLE_UTILS=ON \ %endif - %if %{with pcre2} -DENABLE_PCRE2=ON \ - %endif %if %{with jemalloc} -DENABLE_JEMALLOC=ON \ %endif