Accepting request 1061306 from systemsmanagement

OBS-URL: https://build.opensuse.org/request/show/1061306
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openhpi?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2023-01-27 09:16:28 +00:00 committed by Git OBS Bridge
commit 058d2b842a
3 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jan 26 09:04:06 UTC 2023 - trenn@suse.de
- Fix build error due to deprecated net-snmp included variable
DES is removed from net-snmp(-devel)
Therefore disable the plugin making use of it (snmp_bc)
-------------------------------------------------------------------
Thu Nov 11 11:11:11 UTC 2022 - olaf@aepfle.de

View File

@ -2,4 +2,3 @@ name: openhpi
version: 3.8.0.ge4631e8a
mtime: 1556837697
commit: e4631e8a229b68dd4b1a2d1ec7d09f75c9ae6381

View File

@ -1,7 +1,7 @@
#
# spec file for package openhpi
#
# Copyright (c) 2021 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
@ -40,8 +40,9 @@ BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: ncurses-devel
BuildRequires: net-snmp-devel
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(systemd)
%description
OpenHPI implements the SA Forum's Hardware Platform Interface (HPI). HPI is an
@ -79,9 +80,9 @@ Requires: libstdc++-devel
Requires: libtool
Requires: ncurses-devel
Requires: net-snmp-devel
Requires: pkgconfig(openssl)
Requires: popt-devel
Requires: zlib-devel
Requires: pkgconfig(openssl)
%description devel
Contains additional files needed for a developer to create applications
@ -124,9 +125,11 @@ chmod a-x clients/*.[ch]
export CFLAGS="%{optflags} -fno-strict-aliasing -DGLIB_DISABLE_DEPRECATION_WARNINGS"
export CXXFLAGS="${CFLAGS}"
# --disable-snmp_bc since usmDESPrivProtocol is not defined anymore
%configure \
--disable-static \
--disable-ipmi --disable-sysfs --enable-daemon \
--disable-ipmi --disable-sysfs --enable-daemon --disable-snmp_bc \
--enable-ipmidirect --enable-simulator --enable-clients \
--enable-ilo2_ribcl --enable-oa_soap \
--with-systemdsystemunitdir=%{_unitdir} \