diff --git a/python-psutil.spec b/python-psutil.spec index 220f7d3..3a7e9ee 100644 --- a/python-psutil.spec +++ b/python-psutil.spec @@ -1,4 +1,10 @@ + +%if 0%{?fedora} > 12 || 0%{?rhel} > 6 %global with_python3 1 +%else +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")} +%endif + %global short_name psutil # Filter Python modules from Provides @@ -9,7 +15,7 @@ Name: python-psutil Version: 0.4.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A process utilities module for Python Group: Development/Languages @@ -104,6 +110,9 @@ popd %changelog +* Wed Apr 18 2012 Ralph Bean - 0.4.1-3 +- Added a conditional around with_python3 to support el6. + * Sat Jan 14 2012 Fedora Release Engineering - 0.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild