From 41046cd87d76a734d51fac69cbf6889270761f1fd3aee681e14341020785d5b7 Mon Sep 17 00:00:00 2001 From: Bernhard Wiedemann Date: Fri, 27 Jan 2023 11:25:32 +0000 Subject: [PATCH] Accepting request 1060855 from home:kukuk:branches:server:mail - Don't build against libnsl, it's not used and deprecated OBS-URL: https://build.opensuse.org/request/show/1060855 OBS-URL: https://build.opensuse.org/package/show/server:mail/rspamd?expand=0&rev=84 --- rspamd.changes | 5 +++++ rspamd.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/rspamd.changes b/rspamd.changes index ba0fa99..5535df2 100644 --- a/rspamd.changes +++ b/rspamd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 25 11:11:42 UTC 2023 - Thorsten Kukuk + +- Don't build against libnsl, it's not used and deprecated + ------------------------------------------------------------------- Mon Nov 14 16:35:33 UTC 2022 - Marcus Rueckert diff --git a/rspamd.spec b/rspamd.spec index 0f406d5..5960b74 100644 --- a/rspamd.spec +++ b/rspamd.spec @@ -1,7 +1,7 @@ # # spec file for package rspamd # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -102,7 +102,7 @@ BuildRequires: pkgconfig(glib-2.0) >= 2.28 BuildRequires: pkgconfig(hiredis) %endif BuildRequires: pkgconfig(libev) -%if 0%{?suse_version} >= 1500 +%if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1599 BuildRequires: pkgconfig(libnsl) %endif BuildRequires: ragel