diff --git a/OpenIPMI.spec b/OpenIPMI.spec index ae8f986..045e7d7 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -1,9 +1,9 @@ %define ipmitoolver 1.8.8 -%define pythonver %(%{__python} -c "import sys; print sys.version[:3]") +%{!?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: 6%{?dist} +Release: 7%{?dist} License: GPL Group: System Environment/Base URL: http://sourceforge.net/projects/openipmi/ @@ -70,7 +70,7 @@ pushd ipmitool-%{ipmitoolver} popd %build -%configure --with-pythoninstall=%{_libdir}/python%{pythonver}/site-packages +%configure --with-pythoninstall=%{python_sitearch} make pushd ipmitool-%{ipmitoolver} %configure @@ -166,6 +166,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/*.a %changelog +* Thu Dec 7 2006 Jeremy Katz - 2.0.6-7 +- rebuild for python 2.5 + * Tue Nov 28 2006 Phil Knirsch - 2.0.6-6.fc7 - Update due to new net-snmp-5.4 - Some specfile updates