From 39800932fbd810a08b586096e253547e5de2bceb Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Tue, 19 Mar 2013 13:42:04 +0700 Subject: [PATCH] Also generate egg-info on EL5 (cherry picked from commit 5f384b134fef761d1a0e16a6b252e55bf9d5216c) --- python-psutil.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python-psutil.spec b/python-psutil.spec index 8063320..8999587 100644 --- a/python-psutil.spec +++ b/python-psutil.spec @@ -30,6 +30,7 @@ BuildRequires: python3-devel %endif %if 0%{?el5} +BuildRequires: python-setuptools BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %endif @@ -108,9 +109,7 @@ chmod 0755 $RPM_BUILD_ROOT%{python3_sitearch}/*.so %files %doc CREDITS HISTORY LICENSE README %{python_sitearch}/%{short_name}/ -%if ! 0%{?el5} %{python_sitearch}/*.egg-info -%endif %{python_sitearch}/*.so