Added a conditional around with_python3 to support el6.
This commit is contained in:
parent
c8a544ac1a
commit
c3d579bbf6
|
@ -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 <rbean@redhat.com> - 0.4.1-3
|
||||
- Added a conditional around with_python3 to support el6.
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue