fix build with new Tkinter which doesn't return an expected value in __version__

This commit is contained in:
Dan Horák
2011-10-31 15:24:03 +01:00
parent 15f4723084
commit 5446c87d15
2 changed files with 19 additions and 1 deletions
+7 -1
View File
@@ -19,7 +19,7 @@
Name: python-matplotlib
Version: 1.0.1
Release: 13%{?dist}
Release: 14%{?dist}
Summary: Python plotting library
Group: Development/Libraries
@@ -38,6 +38,8 @@ Source2: setup.cfg
Patch0: matplotlib-1.0.1-plot_directive.patch
Patch1: matplotlib-1.0.1-noagg.patch
Patch2: 0001-Bugfix-propagate-timezone-info-in-plot_date-xaxis_da.patch
# fix build when Tkinter doesn't return an expected value in __version__ (FTBFS)
Patch3: matplotlib-1.0.1-tkinter.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel, freetype-devel, libpng-devel, zlib-devel
BuildRequires: pygtk2-devel, gtk2-devel
@@ -104,6 +106,7 @@ BuildRequires: python-basemap
%endif
%patch0 -p1
%patch2 -p1
%patch3 -p1 -b .tkinter
# Remove bundled libraries
rm -r agg24 lib/matplotlib//pyparsing.py
@@ -192,6 +195,9 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
* Mon Oct 31 2011 Dan Horák <dan[at]danny.cz> - 1.0.1-14
- fix build with new Tkinter which doesn't return an expected value in __version__
* Thu Sep 15 2011 Jef Spaleta <jspaleta@fedoraproject.org> - 1.0.1-13
- apply upstream bugfix for timezone formatting (Bug 735677)