From 5573819fc3af73d064a0ddcd5bce21837d062f62 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Thu, 7 Dec 2006 18:25:07 +0000 Subject: [PATCH] - rebuild for python 2.5 --- OpenIPMI.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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