diff --git a/ipmitool.spec b/ipmitool.spec index 855ae8e..0486094 100644 --- a/ipmitool.spec +++ b/ipmitool.spec @@ -1,7 +1,7 @@ Name: ipmitool Summary: Utility for IPMI control Version: 1.8.18 -Release: 5%{?dist} +Release: 6%{?dist} License: BSD Group: System Environment/Base URL: http://ipmitool.sourceforge.net/ @@ -17,7 +17,8 @@ Patch1: 0001-CVE-2011-4339-OpenIPMI.patch Patch2: 0002-openssl.patch BuildRequires: openssl-devel readline-devel ncurses-devel -BuildRequires: systemd-units +%{?systemd_requires} +BuildRequires: systemd # bootstrap BuildRequires: automake autoconf libtool Obsoletes: OpenIPMI-tools < 2.0.14-3 @@ -42,10 +43,8 @@ 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 +%{?systemd_requires} +BuildRequires: systemd 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 @@ -66,10 +65,8 @@ of net-snmp to include redirections to BMC based SNMP. Requires: hostname Requires: ipmitool BuildArch: noarch -Requires(post): systemd-sysv -Requires(post): systemd-units -Requires(preun): systemd-units -Requires(postun): systemd-units +%{?systemd_requires} +BuildRequires: systemd 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 %changelog +* Tue Feb 21 2017 Josef Ridky - 1.8.18-6 +- remove old systemd dependencies + * Tue Feb 21 2017 Josef Ridky - 1.8.18-5 - Fix allocation issue