rpms/python-matplotlib/devel python-matplotlib.spec,1.2,1.3

Orion Poplawski (orion) fedora-extras-commits at redhat.com
Thu Jul 28 20:19:52 UTC 2005


Author: orion

Update of /cvs/extras/rpms/python-matplotlib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3825

Modified Files:
	python-matplotlib.spec 
Log Message:
- BuildRequires: pytz, python-dateutil - use upstream
- Don't use INSTALLED_FILES, list dirs
- Fix execute permissions



Index: python-matplotlib.spec
===================================================================
RCS file: /cvs/extras/rpms/python-matplotlib/devel/python-matplotlib.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- python-matplotlib.spec	1 Jul 2005 16:15:16 -0000	1.2
+++ python-matplotlib.spec	28 Jul 2005 20:19:50 -0000	1.3
@@ -2,7 +2,7 @@
 
 Name:           python-matplotlib
 Version:        0.82
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Python plotting library
 
 Group:          Development/Libraries
@@ -13,6 +13,7 @@
 
 BuildRequires:  python-devel, freetype-devel, libpng-devel, zlib-devel
 BuildRequires:  python-numeric, pygtk2-devel, gtk2-devel
+BuildRequires:  pytz, python-dateutil
 
 %description
 Matplotlib is a pure python plotting library with the goal of making
@@ -28,22 +29,29 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
+%{__python} setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT
+chmod +x $RPM_BUILD_ROOT%{python_sitearch}/matplotlib/dates.py
+chmod -x $RPM_BUILD_ROOT%{_datadir}/matplotlib/*.svg
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
-%files -f INSTALLED_FILES
+%files
 %defattr(-,root,root,-)
 %doc README license/LICENSE license/LICENSE_enthought.txt
-%doc license/LICENSE_PAINT license/LICENSE_PIL license/PYTZ_LICENSE.txt
+%doc license/LICENSE_PAINT license/LICENSE_PIL
 %doc API_CHANGES CHANGELOG CXX INSTALL INTERACTIVE KNOWN_BUGS
 %doc NUMARRAY_ISSUES PKG-INFO TODO
-%dir %{python_sitearch}/matplotlib
-%dir %{_datadir}/matplotlib
+%{python_sitearch}/matplotlib/
+%{python_sitearch}/pylab.py*
+%{_datadir}/matplotlib/
 
 %changelog
+* Tue Jul 05 2005 Orion Poplawski <orion at cora.nwra.com> 0.82-4
+- BuildRequires: pytz, python-dateutil - use upstream
+- Don't use INSTALLED_FILES, list dirs
+- Fix execute permissions
+
 * Fri Jul 01 2005 Orion Poplawski <orion at cora.nwra.com> 0.82-3
 - Use %{python_sitearch}
 




More information about the fedora-extras-commits mailing list