Also generate egg-info on EL5
This commit is contained in:
parent
5b8aa34407
commit
4571124cfa
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
Name: python-psutil
|
Name: python-psutil
|
||||||
Version: 0.4.1
|
Version: 0.4.1
|
||||||
Release: 3%{?dist}.1
|
Release: 3%{?dist}.2
|
||||||
Summary: A process utilities module for Python
|
Summary: A process utilities module for Python
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -31,6 +31,7 @@ BuildRequires: python3-devel
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?el5}
|
%if 0%{?el5}
|
||||||
|
BuildRequires: python-setuptools
|
||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -105,9 +106,7 @@ popd
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc CREDITS HISTORY LICENSE README docs/
|
%doc CREDITS HISTORY LICENSE README docs/
|
||||||
%{python_sitearch}/%{short_name}/
|
%{python_sitearch}/%{short_name}/
|
||||||
%if ! 0%{?el5}
|
|
||||||
%{python_sitearch}/*.egg-info
|
%{python_sitearch}/*.egg-info
|
||||||
%endif
|
|
||||||
%{python_sitearch}/*.so
|
%{python_sitearch}/*.so
|
||||||
|
|
||||||
|
|
||||||
@ -122,6 +121,9 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 19 2013 Michel Salim <salimma@fedoraproject.org> - 0.4.1-3.2
|
||||||
|
- Also generate egg-info on EL5
|
||||||
|
|
||||||
* Sat Mar 16 2013 Michel Salim <salimma@fedoraproject.org> - 0.4.1-3.1
|
* Sat Mar 16 2013 Michel Salim <salimma@fedoraproject.org> - 0.4.1-3.1
|
||||||
- Conditionally declare and clean buildroot to support el5
|
- Conditionally declare and clean buildroot to support el5
|
||||||
- Fix declaration of Python macro, and make it apply only to el5
|
- Fix declaration of Python macro, and make it apply only to el5
|
||||||
|
Loading…
Reference in New Issue
Block a user