- Updated to OpenIPMI-2.0.11

This commit is contained in:
Phil Knirsch 2007-04-24 14:43:23 +00:00
parent 5573819fc3
commit f1e2060e65
2 changed files with 19 additions and 19 deletions

View File

@ -1,5 +1,5 @@
--- OpenIPMI-2.0.6/ipmitool-1.8.8/src/plugins/open/open.c.foo 2006-06-16 12:13:58.000000000 -0400
+++ OpenIPMI-2.0.6/ipmitool-1.8.8/src/plugins/open/open.c 2006-06-16 12:19:09.000000000 -0400
--- OpenIPMI-2.0.6/ipmitool-1.8.9/src/plugins/open/open.c.foo 2006-06-16 12:13:58.000000000 -0400
+++ OpenIPMI-2.0.6/ipmitool-1.8.9/src/plugins/open/open.c 2006-06-16 12:19:09.000000000 -0400
@@ -50,7 +50,6 @@
#endif
@ -8,8 +8,8 @@
# include <linux/ipmi.h>
#elif defined(HAVE_FREEBSD_IPMI_H)
/* FreeBSD OpenIPMI-compatible header */
--- OpenIPMI-2.0.6/ipmitool-1.8.8/src/ipmievd.c.foo 2006-06-16 12:14:18.000000000 -0400
+++ OpenIPMI-2.0.6/ipmitool-1.8.8/src/ipmievd.c 2006-06-16 12:14:22.000000000 -0400
--- OpenIPMI-2.0.6/ipmitool-1.8.9/src/ipmievd.c.foo 2006-06-16 12:14:18.000000000 -0400
+++ OpenIPMI-2.0.6/ipmitool-1.8.9/src/ipmievd.c 2006-06-16 12:14:22.000000000 -0400
@@ -54,7 +54,6 @@
#ifdef IPMI_INTF_OPEN

View File

@ -1,9 +1,9 @@
%define ipmitoolver 1.8.8
%define ipmitoolver 1.8.9
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Summary: OpenIPMI (Intelligent Platform Management Interface) library and tools
Name: OpenIPMI
Version: 2.0.6
Release: 7%{?dist}
Version: 2.0.11
Release: 1%{?dist}
License: GPL
Group: System Environment/Base
URL: http://sourceforge.net/projects/openipmi/
@ -11,8 +11,6 @@ Source: http://prdownloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
Source2: http://prdownloads.sourceforge.net/ipmitool/ipmitool-%{ipmitoolver}.tar.gz
Source3: openipmi.sysconf
Source4: openipmi.initscript
Patch1: OpenIPMI-2.0.6-badheader.patch
Patch100: ipmitool-1.8.7-peftime.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
PreReq: chkconfig
BuildPrereq: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
@ -64,10 +62,6 @@ of the OpenIPMI project.
%prep
%setup -q -a 2
%patch1 -p1 -b .badheader
pushd ipmitool-%{ipmitoolver}
%patch100 -p1 -b .peftime
popd
%build
%configure --with-pythoninstall=%{python_sitearch}
@ -85,8 +79,8 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
rm -rf $RPM_BUILD_ROOT/usr/lib
%endif
pushd ipmitool-%{ipmitoolver}
%makeinstall
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/
make install DESTDIR=$RPM_BUILD_ROOT
#rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/
popd
install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig
@ -138,19 +132,19 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man8/ipmilan*
%files perl
%{_libdir}/perl5/site_perl/*/*-linux-thread-multi/OpenIPMI.pm
%dir %{_libdir}/perl5/site_perl/*/*-linux-thread-multi/auto/OpenIPMI
%{_libdir}/perl5/site_perl/*/*-linux-thread-multi/auto/OpenIPMI/*
%{_libdir}/perl5/vendor_perl/*/*-linux-thread-multi/OpenIPMI.pm
%dir %{_libdir}/perl5/vendor_perl/*/*-linux-thread-multi/auto/OpenIPMI
%{_libdir}/perl5/vendor_perl/*/*-linux-thread-multi/auto/OpenIPMI/*
%files python
%{_libdir}/python*/site-packages/*
%files tools
%defattr(-,root,root)
%{_datadir}/ipmitool/
%{_bindir}/ipmitool
%{_mandir}/man1/ipmitool*
%{_mandir}/man8/ipmievd*
%{_datadir}/doc/ipmitool
/usr/sbin/ipmievd
%files libs
@ -166,6 +160,12 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.a
%changelog
* Tue Apr 24 2007 Phil Knirsch <pknirsch@redhat.com> - 2.0.11-1
- Update to OpenIPMI-2.0.11
* Tue Feb 27 2007 Phil Knirsch <pknirsch@redhat.com> - 2.0.6-8
- Update for ipmitool-1.8.9
* Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 2.0.6-7
- rebuild for python 2.5