fix egg-info conditional for RHEL

This commit is contained in:
David Malcolm 2011-12-06 15:10:01 -05:00
parent 04e2e0f563
commit 313dac93e1
1 changed files with 5 additions and 2 deletions

View File

@ -19,7 +19,7 @@
Name: python-matplotlib Name: python-matplotlib
Version: 1.0.1 Version: 1.0.1
Release: 15%{?dist} Release: 16%{?dist}
Summary: Python plotting library Summary: Python plotting library
Group: Development/Libraries Group: Development/Libraries
@ -164,7 +164,7 @@ rm -rf $RPM_BUILD_ROOT
%doc license/LICENSE_PAINT license/LICENSE_PIL %doc license/LICENSE_PAINT license/LICENSE_PIL
%doc CHANGELOG CXX INSTALL INTERACTIVE KNOWN_BUGS %doc CHANGELOG CXX INSTALL INTERACTIVE KNOWN_BUGS
%doc PKG-INFO TODO %doc PKG-INFO TODO
%if 0%{?fedora} >= 9 %if 0%{?fedora} >= 9 || 0%{?rhel} >= 6
%{python_sitearch}/*egg-info %{python_sitearch}/*egg-info
%endif %endif
%{python_sitearch}/matplotlib/ %{python_sitearch}/matplotlib/
@ -195,6 +195,9 @@ rm -rf $RPM_BUILD_ROOT
%endif %endif
%changelog %changelog
* Tue Dec 6 2011 David Malcolm <dmalcolm@redhat.com> - 1.0.1-16
- fix egg-info conditional for RHEL
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.0.1-15 * Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.0.1-15
- Rebuild for new libpng - Rebuild for new libpng