Create a subpackage for exchange-bmc-os-info
This commit is contained in:
parent
2d27c20e98
commit
629adfc971
@ -1,7 +1,7 @@
|
|||||||
Name: ipmitool
|
Name: ipmitool
|
||||||
Summary: Utility for IPMI control
|
Summary: Utility for IPMI control
|
||||||
Version: 1.8.12
|
Version: 1.8.12
|
||||||
Release: 10%{?dist}
|
Release: 11%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://ipmitool.sourceforge.net/
|
URL: http://ipmitool.sourceforge.net/
|
||||||
@ -19,7 +19,6 @@ Requires(post): systemd-sysv
|
|||||||
Requires(post): systemd-units
|
Requires(post): systemd-units
|
||||||
Requires(preun): systemd-units
|
Requires(preun): systemd-units
|
||||||
Requires(postun): systemd-units
|
Requires(postun): systemd-units
|
||||||
Requires: hostname
|
|
||||||
Obsoletes: OpenIPMI-tools < 2.0.14-3
|
Obsoletes: OpenIPMI-tools < 2.0.14-3
|
||||||
Provides: OpenIPMI-tools = 2.0.14-3
|
Provides: OpenIPMI-tools = 2.0.14-3
|
||||||
|
|
||||||
@ -56,6 +55,23 @@ displaying sensor values, displaying the contents of the System Event
|
|||||||
Log (SEL), printing Field Replaceable Unit (FRU) information, reading and
|
Log (SEL), printing Field Replaceable Unit (FRU) information, reading and
|
||||||
setting LAN configuration, and chassis power control.
|
setting LAN configuration, and chassis power control.
|
||||||
|
|
||||||
|
%package -n exchange-bmc-os-info
|
||||||
|
Requires: hostname
|
||||||
|
Requires: ipmitool OpenIPMI
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires(post): systemd-sysv
|
||||||
|
Requires(post): systemd-units
|
||||||
|
Requires(preun): systemd-units
|
||||||
|
Requires(postun): systemd-units
|
||||||
|
|
||||||
|
Summary: Let OS and BMC exchange info
|
||||||
|
|
||||||
|
%description -n exchange-bmc-os-info
|
||||||
|
Given a host with BMC, this package would pass the hostname &
|
||||||
|
OS information to the BMC and also capture the BMC ip info
|
||||||
|
for the host OS to use.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -99,17 +115,23 @@ install -Dm 755 %{SOURCE6} %{buildroot}%{_libexecdir}/exchange-bmc-os-info
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post ipmievd.service
|
%systemd_post ipmievd.service
|
||||||
%systemd_post exchange-bmc-os-info.service
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_preun ipmievd.service
|
%systemd_preun ipmievd.service
|
||||||
%systemd_preun exchange-bmc-os-info.service
|
|
||||||
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%systemd_postun_with_restart ipmievd.service
|
%systemd_postun_with_restart ipmievd.service
|
||||||
|
|
||||||
|
%post -n exchange-bmc-os-info
|
||||||
|
%systemd_post exchange-bmc-os-info.service
|
||||||
|
|
||||||
|
%preun -n exchange-bmc-os-info
|
||||||
|
%systemd_preun exchange-bmc-os-info.service
|
||||||
|
|
||||||
|
%postun -n exchange-bmc-os-info
|
||||||
%systemd_postun_with_restart exchange-bmc-os-info.service
|
%systemd_postun_with_restart exchange-bmc-os-info.service
|
||||||
|
|
||||||
|
|
||||||
%triggerun -- ipmievd < 1.8.11-7
|
%triggerun -- ipmievd < 1.8.11-7
|
||||||
# Save the current service runlevel info
|
# Save the current service runlevel info
|
||||||
# User must manually run systemd-sysv-convert --apply ipmievd
|
# User must manually run systemd-sysv-convert --apply ipmievd
|
||||||
@ -122,19 +144,24 @@ install -Dm 755 %{SOURCE6} %{buildroot}%{_libexecdir}/exchange-bmc-os-info
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/ipmievd
|
%config(noreplace) %{_sysconfdir}/sysconfig/ipmievd
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/exchange-bmc-os-info
|
|
||||||
%{_sysconfdir}/profile.d/set-bmc-url.sh
|
|
||||||
%{_unitdir}/ipmievd.service
|
%{_unitdir}/ipmievd.service
|
||||||
%{_unitdir}/exchange-bmc-os-info.service
|
|
||||||
%{_libexecdir}/*
|
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
%doc %{_datadir}/doc/ipmitool
|
%doc %{_datadir}/doc/ipmitool
|
||||||
%{_datadir}/ipmitool
|
%{_datadir}/ipmitool
|
||||||
|
|
||||||
|
%files -n exchange-bmc-os-info
|
||||||
|
%config(noreplace) %{_sysconfdir}/sysconfig/exchange-bmc-os-info
|
||||||
|
%{_sysconfdir}/profile.d/set-bmc-url.sh
|
||||||
|
%{_unitdir}/exchange-bmc-os-info.service
|
||||||
|
%{_libexecdir}/exchange-bmc-os-info
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 13 2012 Praveen K Paladugu <praveen_paladugu@dell.com> - 1.8.12-11
|
||||||
|
- Subpackage for exchange-bmc-os-info as it requires OPenIPMI
|
||||||
|
|
||||||
* Wed Dec 12 2012 Ales Ledvinka <aledvink@redhat.com> 1.8.12-10
|
* Wed Dec 12 2012 Ales Ledvinka <aledvink@redhat.com> 1.8.12-10
|
||||||
- documented fixed and conditional defaults. adjusted synopsis
|
- documented fixed and conditional defaults. adjusted synopsis
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user