Reduce default backend to Recommends
- fixes rhbz#1321456
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
%bcond_without wx
|
||||
%endif
|
||||
|
||||
# the default backend; one of GTK3Agg GTK3Cairo MacOSX Qt4Agg Qt5Agg TkAgg
|
||||
# WXAgg Agg Cairo PS PDF SVG
|
||||
# The default backend; one of GTK3Agg GTK3Cairo GTK4Agg GTK4Cairo MacOSX QtAgg
|
||||
# TkAgg WXAgg Agg Cairo PS PDF SVG
|
||||
%global backend TkAgg
|
||||
|
||||
%if "%{backend}" == "TkAgg"
|
||||
@@ -183,7 +183,7 @@ Recommends: texlive-dvipng
|
||||
Requires: (texlive-dvipng if texlive-base)
|
||||
Requires: python3-matplotlib-data = %{version}-%{release}
|
||||
Requires: python3dist(pycairo)
|
||||
Requires: python3-matplotlib-%{?backend_subpackage}%{!?backend_subpackage:tk}%{?_isa} = %{version}-%{release}
|
||||
Recommends: python3-matplotlib-%{?backend_subpackage}%{!?backend_subpackage:tk}%{?_isa} = %{version}-%{release}
|
||||
%if %{with check}
|
||||
BuildRequires: python3dist(pytest)
|
||||
BuildRequires: python3dist(pytest-rerunfailures)
|
||||
|
||||
Reference in New Issue
Block a user