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:
parent
797524c240
commit
6fde748544
@ -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
|
Thu Sep 08 18:40:34 UTC 2022 - lduncan@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package open-isns
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Name: open-isns
|
||||||
Summary: Partial Implementation of iSNS iSCSI registration
|
Summary: Partial Implementation of iSNS iSCSI registration
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
@ -31,7 +37,9 @@ BuildRequires: automake
|
|||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: meson >= 0.55.0
|
BuildRequires: meson >= 0.55.0
|
||||||
|
%if %{with slp}
|
||||||
BuildRequires: openslp-devel
|
BuildRequires: openslp-devel
|
||||||
|
%endif
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
@ -62,7 +70,12 @@ Files to develop an application using the open-isns library.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
|
%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
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user