SHA256
1
0
forked from pool/ipmiutil
Andy Cress 2012-06-26 13:43:10 +00:00 committed by Git OBS Bridge
parent 00c489b668
commit 84c6506ea4

View File

@ -19,7 +19,7 @@
Name: ipmiutil
Version: 2.8.2
Version: 2.8.4
Release: 1%{?dist}
Summary: Easy-to-use IPMI server management utilities
License: BSD-3-Clause
@ -27,18 +27,17 @@ Group: System/Management
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Url: http://ipmiutil.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch0: oem_dell-void.patch
%if 0%{?suse_version} >= 1210
%define req_systemd 1
%endif
%if 0%{?req_systemd}
BuildRequires: gcc gcc-c++ libtool openssl-devel systemd
%define systemd_fls %{_unitdir}
# Requires: %{?systemd_requires}
%else
BuildRequires: gcc gcc-c++ libtool openssl-devel
%define systemd_fls %{_datadir}/%{name}
%endif
# Suggests: cron or vixie-cron or cronie or similar
%define init_dir %{_initrddir}
@ -65,6 +64,7 @@ useful for building custom IPMI applications.
%prep
%setup -q
%patch0 -p1
%build
autoreconf -fiv
@ -153,7 +153,7 @@ rm -rf %{buildroot}
%files devel
%defattr(-,root,root)
%{_datadir}/%{name}/ipmicmd.h
%{_includedir}/ipmicmd.h
%{_datadir}/%{name}/ipmi_sample.c
%{_datadir}/%{name}/Makefile
%{_libdir}/libipmiutil.a