Accepting request 1109033 from home:kukuk:cleanup

- Disable SLP by default for Factory and ALP (bsc#1214884)

OBS-URL: https://build.opensuse.org/request/show/1109033
OBS-URL: https://build.opensuse.org/package/show/Base:System/open-isns?expand=0&rev=41
This commit is contained in:
Lee Duncan 2023-09-05 19:01:32 +00:00 committed by Git OBS Bridge
parent 797524c240
commit 6fde748544
2 changed files with 20 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 5 11:59:19 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
- Disable SLP by default for Factory and ALP (bsc#1214884)
-------------------------------------------------------------------
Thu Sep 08 18:40:34 UTC 2022 - lduncan@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package open-isns
#
# 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
@ -16,6 +16,12 @@
#
%if 0%{?suse_version} >= 1600
%bcond_with slp
%else
%bcond_without slp
%endif
Name: open-isns
Summary: Partial Implementation of iSNS iSCSI registration
License: LGPL-2.1-or-later
@ -31,7 +37,9 @@ BuildRequires: automake
BuildRequires: glibc-devel
BuildRequires: make
BuildRequires: meson >= 0.55.0
%if %{with slp}
BuildRequires: openslp-devel
%endif
BuildRequires: openssl-devel
BuildRequires: systemd-rpm-macros
%{?systemd_requires}
@ -62,7 +70,12 @@ Files to develop an application using the open-isns library.
%build
%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
%meson --default-library=both
%meson --default-library=both \
%if %{with slp}
-Dslp=enabled
%else
-Dslp=disabled
%endif
%meson_build
%install