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