forked from pool/ipmitool
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
This commit is contained in:
parent
0728bd93f6
commit
331d0a61d2
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 11 13:39:26 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
|
||||||
|
|
||||||
|
- Don't hardcode /usr but use rpm variables
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 10 08:27:23 UTC 2020 - trenn@suse.de
|
Mon Feb 10 08:27:23 UTC 2020 - trenn@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ipmitool
|
# 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
|
# 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
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
Summary: Utility for IPMI Control
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: System/Management
|
Group: System/Management
|
||||||
Url: https://github.com/ipmitool/ipmitool
|
URL: https://github.com/ipmitool/ipmitool
|
||||||
Source: %{name}-%{version}.tar.xz
|
Source: %{name}-%{version}.tar.xz
|
||||||
Source1: ipmievd.service
|
Source1: ipmievd.service
|
||||||
Source2: ipmievd.sysconf
|
Source2: ipmievd.sysconf
|
||||||
@ -62,9 +62,9 @@ and setting LAN configuration, and chassis power control.
|
|||||||
|
|
||||||
%package bmc-snmp-proxy
|
%package bmc-snmp-proxy
|
||||||
Summary: SNMP configuration to include the BMC's SNMP agent
|
Summary: SNMP configuration to include the BMC's SNMP agent
|
||||||
Group: System/Management
|
Group: System/Management
|
||||||
Requires: net-snmp, ipmitool >= %{version}
|
Requires: net-snmp, ipmitool >= %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description bmc-snmp-proxy
|
%description bmc-snmp-proxy
|
||||||
Given a host with BMC, this package would extend system configuration
|
Given a host with BMC, this package would extend system configuration
|
||||||
@ -87,7 +87,7 @@ make %{?_smp_mflags}
|
|||||||
%make_install
|
%make_install
|
||||||
rm -rf %{buildroot}%{_datadir}/doc/ipmitool
|
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
|
# exchange-bmc-os-info service
|
||||||
install -D -m 0755 contrib/exchange-bmc-os-info.init.redhat %{buildroot}/%{_sbindir}/exchange-bmc-os-info
|
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
|
%{_unitdir}/ipmievd.service
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
/usr/share/misc/enterprise-numbers
|
%{_datadir}/misc/enterprise-numbers
|
||||||
|
|
||||||
%files bmc-snmp-proxy
|
%files bmc-snmp-proxy
|
||||||
%attr(755,root,root) %{_sbindir}/bmc-snmp-proxy
|
%attr(755,root,root) %{_sbindir}/bmc-snmp-proxy
|
||||||
|
Loading…
Reference in New Issue
Block a user