- Made it install the python bindings properly on 64bit archs
This commit is contained in:
parent
6ea3df098b
commit
6abca7b9c5
@ -1,4 +1,5 @@
|
|||||||
%define ipmitoolver 1.8.8
|
%define ipmitoolver 1.8.8
|
||||||
|
%define pythonver %(%{__python} -c "import sys; print sys.version[:3]")
|
||||||
Summary: OpenIPMI (Intelligent Platform Management Interface) library and tools
|
Summary: OpenIPMI (Intelligent Platform Management Interface) library and tools
|
||||||
Name: OpenIPMI
|
Name: OpenIPMI
|
||||||
Version: 2.0.6
|
Version: 2.0.6
|
||||||
@ -67,7 +68,7 @@ pushd ipmitool-%{ipmitoolver}
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure --with-pythoninstall=%{_libdir}/python%{pythonver}/site-packages
|
||||||
make
|
make
|
||||||
pushd ipmitool-%{ipmitoolver}
|
pushd ipmitool-%{ipmitoolver}
|
||||||
%configure
|
%configure
|
||||||
@ -77,6 +78,10 @@ popd
|
|||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||||
|
# Remove python cruft in 32bit libdir on 64bit archs...
|
||||||
|
%ifarch ppc64 s390x x86_64
|
||||||
|
rm -rf $RPM_BUILD_ROOT/usr/lib
|
||||||
|
%endif
|
||||||
pushd ipmitool-%{ipmitoolver}
|
pushd ipmitool-%{ipmitoolver}
|
||||||
%makeinstall
|
%makeinstall
|
||||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/
|
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/
|
||||||
@ -165,6 +170,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
- Split off perl and python bindings in separate subpackages
|
- Split off perl and python bindings in separate subpackages
|
||||||
- Dropped obsolete patches
|
- Dropped obsolete patches
|
||||||
- Added missing buildprereq on readline-devel
|
- Added missing buildprereq on readline-devel
|
||||||
|
- Made it install the python bindings properly on 64bit archs
|
||||||
|
|
||||||
* Mon May 15 2006 Phil Knirsch <pknirsch@redhat.com>
|
* Mon May 15 2006 Phil Knirsch <pknirsch@redhat.com>
|
||||||
- Updated ipmitool to 1.8.8
|
- Updated ipmitool to 1.8.8
|
||||||
|
Loading…
Reference in New Issue
Block a user