diff --git a/OpenIPMI.spec b/OpenIPMI.spec index b3a274f..a494a32 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -5,7 +5,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.24 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -18,18 +18,15 @@ Patch3: 0003-Apply-OpenIPMI-2.0.21-nobundle.patch.patch BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel BuildRequires: openssl-devel python2-devel perl-devel perl-generators -BuildRequires: systemd-units BuildRequires: pkgconfig BuildRequires: libedit-devel BuildRequires: automake BuildRequires: autoconf BuildRequires: libtool +%{?systemd_requires} +BuildRequires: systemd Requires: libedit -Requires(post): systemd-units -Requires(preun): systemd-units -Requires(postun): systemd-units -Requires(post): systemd-sysv Requires: %{name}-libs%{?_isa} = %{version}-%{release} @@ -213,6 +210,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Mon Jan 22 2018 Josef Ridky -2.0.14-3 +- remove old systemd dependencies + * Mon Jan 22 2018 Josef Ridky -2.0.14-2 - restore removed requirements