[python-matplotlib/f19] Use GTKAgg backend and correct requires
Thomas Spura
tomspur at fedoraproject.org
Sat Jan 25 16:20:44 UTC 2014
commit 109cf25bcd271a15f17d0519dbb854c85f58b43e
Author: Thomas Spura <thomas.spura at gmail.com>
Date: Sat Jan 25 17:20:39 2014 +0100
Use GTKAgg backend and correct requires
- use GTKAgg backend (#982793)
- R python3-matplotlib not python-matplotlib (#988412)
python-matplotlib.spec | 10 +++++++++-
setup.cfg | 2 ++
2 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/python-matplotlib.spec b/python-matplotlib.spec
index c74a222..5bf67e0 100644
--- a/python-matplotlib.spec
+++ b/python-matplotlib.spec
@@ -27,6 +27,7 @@ URL: http://matplotlib.org
#sha1sum matplotlib-1.2.0-without-gpc.tar.gz
#92ada4ef4e7374d67e46e30bfb08c3fed068d680 matplotlib-1.2.0-without-gpc.tar.gz
Source0: matplotlib-%{version}-without-gpc.tar.gz
+Source1: setup.cfg
Patch0: %{name}-noagg.patch
Patch1: %{name}-tk.patch
@@ -157,7 +158,7 @@ errorcharts, scatterplots, etc, with just a few lines of code.
%package -n python3-matplotlib-qt4
Summary: Qt4 backend for python3-matplotlib
Group: Development/Libraries
-Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: python3-matplotlib%{?_isa} = %{version}-%{release}
BuildRequires: python3-PyQt4-devel
Requires: python3-PyQt4
@@ -178,6 +179,9 @@ Requires: python3-tkinter
%prep
%setup -q -n matplotlib-%{version}
+# Copy setup.cfg to the builddir
+cp %{SOURCE1} .
+
# Remove bundled libraries
rm -r agg24 lib/matplotlib/pyparsing_py?.py
@@ -319,6 +323,10 @@ popd
%endif
%changelog
+* Sat Jan 25 2014 Thomas Spura <tomspur at fedoraproject.org> - 1.2.0-15
+- use GTKAgg backend (#982793)
+- R python3-matplotlib not python-matplotlib (#988412)
+
* Mon Jun 10 2013 Jon Ciesla <limburgher at gmail.com> - 1.2.0-14
- agg rebuild.
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 0000000..c8f8c20
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,2 @@
+[rc_options]
+backend = GTKAgg
More information about the scm-commits
mailing list