From 32c01ce7b8f13ad52725521ce39d4ea58dbf365c18517d700bba22b455b986fc Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Thu, 26 Jan 2023 16:38:02 +0000 Subject: [PATCH] Accepting request 1061305 from home:trenn:branches:systemsmanagement - 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) OBS-URL: https://build.opensuse.org/request/show/1061305 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/openhpi?expand=0&rev=49 --- openhpi.changes | 7 +++++++ openhpi.obsinfo | 1 - openhpi.spec | 11 +++++++---- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/openhpi.changes b/openhpi.changes index 12b3b1b..217d879 100644 --- a/openhpi.changes +++ b/openhpi.changes @@ -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 diff --git a/openhpi.obsinfo b/openhpi.obsinfo index 00f9289..c0fd184 100644 --- a/openhpi.obsinfo +++ b/openhpi.obsinfo @@ -2,4 +2,3 @@ name: openhpi version: 3.8.0.ge4631e8a mtime: 1556837697 commit: e4631e8a229b68dd4b1a2d1ec7d09f75c9ae6381 - diff --git a/openhpi.spec b/openhpi.spec index 390d68e..0ee5f5c 100644 --- a/openhpi.spec +++ b/openhpi.spec @@ -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} \