Also generate egg-info on EL5

(cherry picked from commit 5f384b134f)
This commit is contained in:
Michel Alexandre Salim 2013-03-19 13:42:04 +07:00
parent add92bda5c
commit 39800932fb
1 changed files with 1 additions and 2 deletions

View File

@ -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