From 331d0a61d25f96600a3602bcfcd5a89207a30af580d367ce13969d4515f8ce08 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Tue, 11 Feb 2020 13:59:06 +0000 Subject: [PATCH] Accepting request 773456 from home:namtrac:branches:systemsmanagement - Don't hardcode /usr but use rpm variables OBS-URL: https://build.opensuse.org/request/show/773456 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmitool?expand=0&rev=52 --- ipmitool.changes | 5 +++++ ipmitool.spec | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/ipmitool.changes b/ipmitool.changes index 01aff29..1bc0d5c 100644 --- a/ipmitool.changes +++ b/ipmitool.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 11 13:39:26 UTC 2020 - Ismail Dönmez + +- Don't hardcode /usr but use rpm variables + ------------------------------------------------------------------- Mon Feb 10 08:27:23 UTC 2020 - trenn@suse.de diff --git a/ipmitool.spec b/ipmitool.spec index 5b4a4b8..8c2da25 100644 --- a/ipmitool.spec +++ b/ipmitool.spec @@ -1,7 +1,7 @@ # # spec file for package ipmitool # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,7 +22,7 @@ Release: 0 Summary: Utility for IPMI Control License: BSD-3-Clause Group: System/Management -Url: https://github.com/ipmitool/ipmitool +URL: https://github.com/ipmitool/ipmitool Source: %{name}-%{version}.tar.xz Source1: ipmievd.service Source2: ipmievd.sysconf @@ -62,9 +62,9 @@ and setting LAN configuration, and chassis power control. %package bmc-snmp-proxy Summary: SNMP configuration to include the BMC's SNMP agent -Group: System/Management -Requires: net-snmp, ipmitool >= %{version} -BuildArch: noarch +Group: System/Management +Requires: net-snmp, ipmitool >= %{version} +BuildArch: noarch %description bmc-snmp-proxy Given a host with BMC, this package would extend system configuration @@ -87,7 +87,7 @@ make %{?_smp_mflags} %make_install rm -rf %{buildroot}%{_datadir}/doc/ipmitool -install -D -m 644 %{SOURCE3} %{buildroot}/usr/share/misc/enterprise-numbers +install -D -m 644 %{SOURCE3} %{buildroot}%{_datadir}/misc/enterprise-numbers # exchange-bmc-os-info service install -D -m 0755 contrib/exchange-bmc-os-info.init.redhat %{buildroot}/%{_sbindir}/exchange-bmc-os-info @@ -145,7 +145,7 @@ ln -sf service %{buildroot}%{_sbindir}/rcbmc-snmp-proxy %{_unitdir}/ipmievd.service %{_mandir}/man1/* %{_mandir}/man8/* -/usr/share/misc/enterprise-numbers +%{_datadir}/misc/enterprise-numbers %files bmc-snmp-proxy %attr(755,root,root) %{_sbindir}/bmc-snmp-proxy