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
This commit is contained in:
Wolfgang Rosenauer 2022-04-04 12:07:32 +00:00 committed by Git OBS Bridge
parent 57573742b0
commit 2466a5bd72
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 4 09:18:43 UTC 2022 - Wolfgang Rosenauer <wr@rosenauer.org>
- 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 <michael@stroeder.com> Sat Mar 26 17:02:38 UTC 2022 - Michael Ströder <michael@stroeder.com>

View File

@ -41,7 +41,6 @@
%if 0%{?suse_version} >= 1500 %if 0%{?suse_version} >= 1500
%bcond_without openblas %bcond_without openblas
%bcond_with pcre2
%endif %endif
# fails to build atm # fails to build atm
@ -94,10 +93,7 @@ BuildRequires: lua-devel
%if %{with openblas} %if %{with openblas}
BuildRequires: openblas-devel BuildRequires: openblas-devel
%endif %endif
BuildRequires: pcre-devel
%if %{with pcre2}
BuildRequires: pcre2-devel BuildRequires: pcre2-devel
%endif
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(fmt) BuildRequires: pkgconfig(fmt)
BuildRequires: pkgconfig(glib-2.0) >= 2.28 BuildRequires: pkgconfig(glib-2.0) >= 2.28
@ -225,9 +221,7 @@ export CXX="g++-%{?force_gcc_version}"
%if %{with utils} %if %{with utils}
-DENABLE_UTILS=ON \ -DENABLE_UTILS=ON \
%endif %endif
%if %{with pcre2}
-DENABLE_PCRE2=ON \ -DENABLE_PCRE2=ON \
%endif
%if %{with jemalloc} %if %{with jemalloc}
-DENABLE_JEMALLOC=ON \ -DENABLE_JEMALLOC=ON \
%endif %endif