From aeb5254bd69844ed3e36d2f0042b7abb4bdef136 Mon Sep 17 00:00:00 2001 From: Przemo Firszt Date: Sat, 13 Oct 2018 23:24:31 +0100 Subject: [PATCH] Add conditional python-matplotlib requirement depending on fedora ver Signed-off-by: Przemo Firszt --- package/fedora/freecad.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/fedora/freecad.spec b/package/fedora/freecad.spec index 8220840ed7..7d2bf822b6 100644 --- a/package/fedora/freecad.spec +++ b/package/fedora/freecad.spec @@ -58,7 +58,11 @@ BuildRequires: netgen-mesher-devel BuildRequires: netgen-mesher-devel-private BuildRequires: pyside-tools BuildRequires: python +%if 0%{?fedora} > 28 +BuildRequires: python3-matplotlib +%else BuildRequires: python-matplotlib +%endif BuildRequires: python-pivy BuildRequires: python-pyside BuildRequires: python-pyside-devel