Remove old systemd dependencies

This commit is contained in:
Josef Ridky 2018-01-30 09:14:46 +01:00
parent 9bcdb1e727
commit 8a5b97ff1d

View File

@ -1,7 +1,7 @@
Name: ipmitool Name: ipmitool
Summary: Utility for IPMI control Summary: Utility for IPMI control
Version: 1.8.18 Version: 1.8.18
Release: 5%{?dist} Release: 6%{?dist}
License: BSD License: BSD
Group: System Environment/Base Group: System Environment/Base
URL: http://ipmitool.sourceforge.net/ URL: http://ipmitool.sourceforge.net/
@ -17,7 +17,8 @@ Patch1: 0001-CVE-2011-4339-OpenIPMI.patch
Patch2: 0002-openssl.patch Patch2: 0002-openssl.patch
BuildRequires: openssl-devel readline-devel ncurses-devel BuildRequires: openssl-devel readline-devel ncurses-devel
BuildRequires: systemd-units %{?systemd_requires}
BuildRequires: systemd
# bootstrap # bootstrap
BuildRequires: automake autoconf libtool BuildRequires: automake autoconf libtool
Obsoletes: OpenIPMI-tools < 2.0.14-3 Obsoletes: OpenIPMI-tools < 2.0.14-3
@ -42,10 +43,8 @@ setting LAN configuration, and chassis power control.
%package -n ipmievd %package -n ipmievd
Requires: ipmitool Requires: ipmitool
Requires(post): systemd-sysv %{?systemd_requires}
Requires(post): systemd-units BuildRequires: systemd
Requires(preun): systemd-units
Requires(postun): systemd-units
Summary: IPMI event daemon for sending events to syslog Summary: IPMI event daemon for sending events to syslog
%description -n ipmievd %description -n ipmievd
ipmievd is a daemon which will listen for events from the BMC that are ipmievd is a daemon which will listen for events from the BMC that are
@ -66,10 +65,8 @@ of net-snmp to include redirections to BMC based SNMP.
Requires: hostname Requires: hostname
Requires: ipmitool Requires: ipmitool
BuildArch: noarch BuildArch: noarch
Requires(post): systemd-sysv %{?systemd_requires}
Requires(post): systemd-units BuildRequires: systemd
Requires(preun): systemd-units
Requires(postun): systemd-units
Summary: Let OS and BMC exchange info Summary: Let OS and BMC exchange info
@ -178,6 +175,9 @@ install -Dm 755 contrib/bmc-snmp-proxy %{buildroot}%{_libexecdir}/bmc-sn
%{_libexecdir}/bmc-snmp-proxy %{_libexecdir}/bmc-snmp-proxy
%changelog %changelog
* Tue Feb 21 2017 Josef Ridky <jridky@redhat.com> - 1.8.18-6
- remove old systemd dependencies
* Tue Feb 21 2017 Josef Ridky <jridky@redhat.com> - 1.8.18-5 * Tue Feb 21 2017 Josef Ridky <jridky@redhat.com> - 1.8.18-5
- Fix allocation issue - Fix allocation issue