Accepting request 825867 from home:bmwiedemann:branches:server:mail
Add rspamd-gcc10-buildfix.patch for Factory build Skip rspamd-moonjit.patch on SLE to fix build OBS-URL: https://build.opensuse.org/request/show/825867 OBS-URL: https://build.opensuse.org/package/show/server:mail/rspamd?expand=0&rev=42
This commit is contained in:
committed by
Git OBS Bridge
parent
853280ea28
commit
745455cd32
@@ -32,8 +32,8 @@
|
||||
%bcond_without luajit
|
||||
%endif
|
||||
|
||||
# Tumbleweed and Leap 15.2 / SLE 15 SP2 uses moonjit:
|
||||
%if (0%{?suse_version} > 1500) || (0%{?sle_version} >= 150200)
|
||||
# Tumbleweed and Leap 15.2 uses moonjit:
|
||||
%if (0%{?suse_version} > 1500) || (0%{?sle_version} >= 150200 && 0%{?is_opensuse})
|
||||
%bcond_without moonjit
|
||||
%endif
|
||||
%endif
|
||||
@@ -66,6 +66,8 @@ Source0: https://github.com/rspamd/rspamd/archive/%{version}/%{name}-%{ve
|
||||
Patch0: rspamd-conf.patch
|
||||
Patch1: rspamd-after-redis-target.patch
|
||||
Patch2: rspamd-moonjit.patch
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Patch3: rspamd-gcc10-buildfix.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: curl-devel
|
||||
BuildRequires: db-devel
|
||||
@@ -158,6 +160,7 @@ This package holds the client tools (rspamc and rspamadm)
|
||||
%if %{with moonjit}
|
||||
%patch2 -p1
|
||||
%endif
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
|
Reference in New Issue
Block a user