!15 [sync] PR-13: separate exchange-bmc-os-info,bmc-snmp-proxy from ipmitool
From: @openeuler-sync-bot Reviewed-by: @seuzw Signed-off-by: @seuzw
This commit is contained in:
commit
b7555fa0c1
@ -1,6 +1,6 @@
|
|||||||
Name: ipmitool
|
Name: ipmitool
|
||||||
Version: 1.8.18
|
Version: 1.8.18
|
||||||
Release: 17
|
Release: 18
|
||||||
Summary: Utility for IPMI control
|
Summary: Utility for IPMI control
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://ipmitool.sourceforge.net/
|
URL: http://ipmitool.sourceforge.net/
|
||||||
@ -47,16 +47,39 @@ BuildRequires: openssl-devel readline-devel ncurses-devel
|
|||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
BuildRequires: automake autoconf libtool
|
BuildRequires: automake autoconf libtool
|
||||||
Requires: net-snmp 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
|
||||||
Obsoletes: ipmievd bmc-snmp-proxy exchange-bmc-os-info
|
Obsoletes: ipmievd
|
||||||
Provides: ipmievd bmc-snmp-proxy exchange-bmc-os-info
|
Provides: ipmievd
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides a simple command-line interface to IPMI-enabled devices
|
This package provides a simple command-line interface to IPMI-enabled devices
|
||||||
through an IPMIv1.5 or IPMIv2.0 LAN interface or Linux/Solaris kernel driver.
|
through an IPMIv1.5 or IPMIv2.0 LAN interface or Linux/Solaris kernel driver.
|
||||||
|
|
||||||
|
%package -n bmc-snmp-proxy
|
||||||
|
Requires: net-snmp
|
||||||
|
Requires: exchange-bmc-os-info
|
||||||
|
BuildArch: noarch
|
||||||
|
Summary: Reconfigure SNMP to include host SNMP agent within BMC
|
||||||
|
|
||||||
|
%description -n bmc-snmp-proxy
|
||||||
|
Given a host with BMC, this package would extend system configuration
|
||||||
|
of net-snmp to include redirections to BMC based SNMP.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n exchange-bmc-os-info
|
||||||
|
Requires: hostname
|
||||||
|
Requires: ipmitool
|
||||||
|
BuildArch: noarch
|
||||||
|
%{?systemd_requires}
|
||||||
|
BuildRequires: systemd
|
||||||
|
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.
|
||||||
|
|
||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -99,14 +122,20 @@ install -Dm 755 contrib/bmc-snmp-proxy %{buildroot}%{_libexecdir}/bmc-sn
|
|||||||
|
|
||||||
%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 -- %{name}
|
%triggerun -- %{name}
|
||||||
@ -117,14 +146,23 @@ install -Dm 755 contrib/bmc-snmp-proxy %{buildroot}%{_libexecdir}/bmc-sn
|
|||||||
%files
|
%files
|
||||||
%doc %{_datadir}/doc/ipmitool/AUTHORS
|
%doc %{_datadir}/doc/ipmitool/AUTHORS
|
||||||
%doc %{_datadir}/doc/ipmitool/COPYING
|
%doc %{_datadir}/doc/ipmitool/COPYING
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/*
|
%config(noreplace) %{_sysconfdir}/sysconfig/ipmievd
|
||||||
%{_sysconfdir}/profile.d/set-bmc-url.sh
|
|
||||||
%{_bindir}/ipmitool
|
%{_bindir}/ipmitool
|
||||||
%{_sbindir}/ipmievd
|
%{_sbindir}/ipmievd
|
||||||
%{_unitdir}/*.service
|
%{_unitdir}/ipmievd.service
|
||||||
%{_libexecdir}/*
|
|
||||||
%{_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
|
||||||
|
|
||||||
|
%files -n bmc-snmp-proxy
|
||||||
|
%config(noreplace) %{_sysconfdir}/sysconfig/bmc-snmp-proxy
|
||||||
|
%{_unitdir}/bmc-snmp-proxy.service
|
||||||
|
%{_libexecdir}/bmc-snmp-proxy
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%doc %{_datadir}/doc/ipmitool/README
|
%doc %{_datadir}/doc/ipmitool/README
|
||||||
%doc %{_datadir}/doc/ipmitool/ChangeLog
|
%doc %{_datadir}/doc/ipmitool/ChangeLog
|
||||||
@ -132,6 +170,12 @@ install -Dm 755 contrib/bmc-snmp-proxy %{buildroot}%{_libexecdir}/bmc-sn
|
|||||||
%{_mandir}/man8/ipmievd.8*
|
%{_mandir}/man8/ipmievd.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 27 2021 gaihuiying <gaihuiying1@huawei.com> - 1.8.18-18
|
||||||
|
- Type:requirement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:separate exchange-bmc-os-info,bmc-snmp-proxy from ipmitool
|
||||||
|
|
||||||
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.8.18-17
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.8.18-17
|
||||||
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user