Split ipmievd bits into a separate package
Resolves: rhbz#1272425
This commit is contained in:
parent
f66a1a9043
commit
a0083f96c1
@ -1,7 +1,7 @@
|
|||||||
Name: ipmitool
|
Name: ipmitool
|
||||||
Summary: Utility for IPMI control
|
Summary: Utility for IPMI control
|
||||||
Version: 1.8.15
|
Version: 1.8.15
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://ipmitool.sourceforge.net/
|
URL: http://ipmitool.sourceforge.net/
|
||||||
@ -17,10 +17,6 @@ BuildRequires: openssl-devel readline-devel ncurses-devel
|
|||||||
BuildRequires: systemd-units
|
BuildRequires: systemd-units
|
||||||
# bootstrap
|
# bootstrap
|
||||||
BuildRequires: automake autoconf libtool
|
BuildRequires: automake autoconf libtool
|
||||||
Requires(post): systemd-sysv
|
|
||||||
Requires(post): systemd-units
|
|
||||||
Requires(preun): systemd-units
|
|
||||||
Requires(postun): systemd-units
|
|
||||||
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
|
||||||
|
|
||||||
@ -53,6 +49,19 @@ 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 ipmievd
|
||||||
|
Requires: ipmitool
|
||||||
|
Requires(post): systemd-sysv
|
||||||
|
Requires(post): systemd-units
|
||||||
|
Requires(preun): systemd-units
|
||||||
|
Requires(postun): systemd-units
|
||||||
|
Summary: IPMI event daemon for sending events to syslog
|
||||||
|
%description -n ipmievd
|
||||||
|
ipmievd is a daemon which will listen for events from the BMC that are
|
||||||
|
being sent to the SEL and also log those messages to syslog.
|
||||||
|
|
||||||
|
|
||||||
%package -n bmc-snmp-proxy
|
%package -n bmc-snmp-proxy
|
||||||
Requires: net-snmp
|
Requires: net-snmp
|
||||||
Requires: exchange-bmc-os-info
|
Requires: exchange-bmc-os-info
|
||||||
@ -132,13 +141,13 @@ install -Dm 644 contrib/bmc-snmp-proxy.sysconf %{buildroot}%{_sysconfdir}/syscon
|
|||||||
install -Dm 644 contrib/bmc-snmp-proxy.service %{buildroot}%{_unitdir}/bmc-snmp-proxy.service
|
install -Dm 644 contrib/bmc-snmp-proxy.service %{buildroot}%{_unitdir}/bmc-snmp-proxy.service
|
||||||
install -Dm 755 contrib/bmc-snmp-proxy %{buildroot}%{_libexecdir}/bmc-snmp-proxy
|
install -Dm 755 contrib/bmc-snmp-proxy %{buildroot}%{_libexecdir}/bmc-snmp-proxy
|
||||||
|
|
||||||
%post
|
%post -n ipmievd
|
||||||
%systemd_post ipmievd.service
|
%systemd_post ipmievd.service
|
||||||
|
|
||||||
%preun
|
%preun -n ipmievd
|
||||||
%systemd_preun ipmievd.service
|
%systemd_preun ipmievd.service
|
||||||
|
|
||||||
%postun
|
%postun -n ipmievd
|
||||||
%systemd_postun_with_restart ipmievd.service
|
%systemd_postun_with_restart ipmievd.service
|
||||||
|
|
||||||
%post -n exchange-bmc-os-info
|
%post -n exchange-bmc-os-info
|
||||||
@ -162,14 +171,17 @@ install -Dm 755 contrib/bmc-snmp-proxy %{buildroot}%{_libexecdir}/bmc-sn
|
|||||||
/bin/systemctl try-restart ipmievd.service >/dev/null 2>&1 || :
|
/bin/systemctl try-restart ipmievd.service >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/ipmievd
|
%{_bindir}/ipmitool
|
||||||
%{_unitdir}/ipmievd.service
|
%{_mandir}/man1/ipmitool.1*
|
||||||
%{_bindir}/*
|
|
||||||
%{_sbindir}/*
|
|
||||||
%{_mandir}/man*/*
|
|
||||||
%doc %{_datadir}/doc/ipmitool
|
%doc %{_datadir}/doc/ipmitool
|
||||||
%{_datadir}/ipmitool
|
%{_datadir}/ipmitool
|
||||||
|
|
||||||
|
%files -n ipmievd
|
||||||
|
%config(noreplace) %{_sysconfdir}/sysconfig/ipmievd
|
||||||
|
%{_unitdir}/ipmievd.service
|
||||||
|
%{_sbindir}/ipmievd
|
||||||
|
%{_mandir}/man8/ipmievd.8*
|
||||||
|
|
||||||
%files -n exchange-bmc-os-info
|
%files -n exchange-bmc-os-info
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/exchange-bmc-os-info
|
%config(noreplace) %{_sysconfdir}/sysconfig/exchange-bmc-os-info
|
||||||
%{_sysconfdir}/profile.d/set-bmc-url.sh
|
%{_sysconfdir}/profile.d/set-bmc-url.sh
|
||||||
@ -182,6 +194,9 @@ install -Dm 755 contrib/bmc-snmp-proxy %{buildroot}%{_libexecdir}/bmc-sn
|
|||||||
%{_libexecdir}/bmc-snmp-proxy
|
%{_libexecdir}/bmc-snmp-proxy
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 24 2015 Boris Ranto <branto@redhat.com> - 1.8.15-5
|
||||||
|
- Split ipmievd bits into a separate package
|
||||||
|
|
||||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.15-4
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.15-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user