From 4cb932c196f147925662ba9ed02ba5bb4fb455f76609683871659cc1ecf87790 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Tue, 3 Sep 2019 14:20:27 +0000 Subject: [PATCH] Accepting request 727987 from home:trenn:branches:systemsmanagement - Enable USB interface by explicit passing --enable-intf-usb (jira#SLE-7780) - Enable free interface by adding freeipmi-devel package to build requires OBS-URL: https://build.opensuse.org/request/show/727987 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmitool?expand=0&rev=50 --- ipmitool.changes | 7 +++++++ ipmitool.spec | 10 ++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/ipmitool.changes b/ipmitool.changes index ab3783b..02e2e71 100644 --- a/ipmitool.changes +++ b/ipmitool.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Sep 2 16:22:47 UTC 2019 - trenn@suse.de + +- Enable USB interface by explicit passing --enable-intf-usb (jira#SLE-7780) +- Enable free interface by adding freeipmi-devel package to + build requires + ------------------------------------------------------------------- Wed Sep 26 07:49:44 UTC 2018 - trenn@suse.de diff --git a/ipmitool.spec b/ipmitool.spec index c4586e5..34ac59e 100644 --- a/ipmitool.spec +++ b/ipmitool.spec @@ -37,6 +37,11 @@ BuildRequires: libtool BuildRequires: openssl-devel BuildRequires: readline-devel BuildRequires: systemd-rpm-macros +# Taken over from freeipmi.spec: +# Necessary as only those archs implement iopl and friends (#368541) +%ifarch %{ix86} x86_64 ia64 alpha aarch64 +BuildRequires: freeipmi-devel +%endif %{?systemd_requires} %description @@ -73,8 +78,9 @@ of net-snmp to include redirections to BMC based SNMP. cp %{SOURCE3} lib autoreconf -fiv # file-security: enables more security checks on files -%configure \ - --enable-file-security +%configure \ + --enable-file-security \ + --enable-intf-usb make %{?_smp_mflags} %install