forked from pool/openhpi
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:
commit
2f68b2cbb7
@ -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
|
Thu Nov 11 11:11:11 UTC 2022 - olaf@aepfle.de
|
||||||
|
|
||||||
|
@ -2,4 +2,3 @@ name: openhpi
|
|||||||
version: 3.8.0.ge4631e8a
|
version: 3.8.0.ge4631e8a
|
||||||
mtime: 1556837697
|
mtime: 1556837697
|
||||||
commit: e4631e8a229b68dd4b1a2d1ec7d09f75c9ae6381
|
commit: e4631e8a229b68dd4b1a2d1ec7d09f75c9ae6381
|
||||||
|
|
||||||
|
11
openhpi.spec
11
openhpi.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package openhpi
|
# 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
|
# 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
|
||||||
@ -40,8 +40,9 @@ BuildRequires: libtool
|
|||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: net-snmp-devel
|
BuildRequires: net-snmp-devel
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(openssl)
|
BuildRequires: pkgconfig(openssl)
|
||||||
|
BuildRequires: pkgconfig(systemd)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenHPI implements the SA Forum's Hardware Platform Interface (HPI). HPI is an
|
OpenHPI implements the SA Forum's Hardware Platform Interface (HPI). HPI is an
|
||||||
@ -79,9 +80,9 @@ Requires: libstdc++-devel
|
|||||||
Requires: libtool
|
Requires: libtool
|
||||||
Requires: ncurses-devel
|
Requires: ncurses-devel
|
||||||
Requires: net-snmp-devel
|
Requires: net-snmp-devel
|
||||||
Requires: pkgconfig(openssl)
|
|
||||||
Requires: popt-devel
|
Requires: popt-devel
|
||||||
Requires: zlib-devel
|
Requires: zlib-devel
|
||||||
|
Requires: pkgconfig(openssl)
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Contains additional files needed for a developer to create applications
|
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 CFLAGS="%{optflags} -fno-strict-aliasing -DGLIB_DISABLE_DEPRECATION_WARNINGS"
|
||||||
export CXXFLAGS="${CFLAGS}"
|
export CXXFLAGS="${CFLAGS}"
|
||||||
|
|
||||||
|
# --disable-snmp_bc since usmDESPrivProtocol is not defined anymore
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-ipmi --disable-sysfs --enable-daemon \
|
--disable-ipmi --disable-sysfs --enable-daemon --disable-snmp_bc \
|
||||||
--enable-ipmidirect --enable-simulator --enable-clients \
|
--enable-ipmidirect --enable-simulator --enable-clients \
|
||||||
--enable-ilo2_ribcl --enable-oa_soap \
|
--enable-ilo2_ribcl --enable-oa_soap \
|
||||||
--with-systemdsystemunitdir=%{_unitdir} \
|
--with-systemdsystemunitdir=%{_unitdir} \
|
||||||
|
Loading…
Reference in New Issue
Block a user