From 95c4d0eaf5b699df9bae93a25d28b0bfc8b6075b Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Mon, 4 Apr 2016 12:33:40 +0200 Subject: [PATCH] Use bundled version of agg This was discussed in bug #1276806 and the agg package (which is incompatible to matplotlib's version anyway) will be retired. --- generate-tarball.sh | 2 +- python-matplotlib.spec | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/generate-tarball.sh b/generate-tarball.sh index 5163b18..4b9e934 100755 --- a/generate-tarball.sh +++ b/generate-tarball.sh @@ -14,7 +14,7 @@ test -f $file || wget -v https://github.com/matplotlib/matplotlib/archive/$file rm -rf matplotlib-${version} tar xzf $file -rm -vr matplotlib-${version}/extern/{agg24,CXX,qhull} +rm -vr matplotlib-${version}/extern/qhull rm -vr matplotlib-${version}/lib/matplotlib/mpl-data/sample_data/lena.* rm -f $result diff --git a/python-matplotlib.spec b/python-matplotlib.spec index a85214e..1849178 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -89,6 +89,8 @@ BuildRequires: pytz BuildRequires: xorg-x11-server-Xvfb BuildRequires: zlib-devel +Provides: bundled(agg) = 2.4 + %description Matplotlib is a python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive