Accepting request 78852 from devel:languages:python

- fix build for platform == linux3 (forwarded request 78835 from oertel)

OBS-URL: https://build.opensuse.org/request/show/78852
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-matplotlib?expand=0&rev=10
This commit is contained in:
2011-08-17 22:05:34 +00:00
committed by Git OBS Bridge
parent 116e04c510
commit 28081e1cea
4 changed files with 65 additions and 1 deletions

View File

@@ -27,7 +27,9 @@ Summary: Plotting Library for Python
Url: http://sourceforge.net/projects/matplotlib
Source: matplotlib-%{version}.tar.bz2
Source1: matplotlib-setup.cfg
# This patch taken from upstream SVN and will not be needed for releases later than 1.0.1
Patch0: matplotlib-1.0.1-plot_directive.patch
Patch1: matplotlib-linux3.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fltk-devel
@@ -105,6 +107,8 @@ wxWidgets backend for python-matplotlib plotting package
%prep
%setup -n matplotlib-%{version}
%patch0 -p1
%patch1
chmod -x lib/matplotlib/mpl-data/images/*.svg
%build