From a402cee11b496f227b5932e4ea991566518bfd5f Mon Sep 17 00:00:00 2001 From: Dominik 'Rathann' Mierzejewski Date: Wed, 15 Jun 2016 15:00:52 +0200 Subject: [PATCH] drop obsolete stuff - drop conditions on EOL Fedora versions - drop unused basepy3dir macro --- python-matplotlib.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/python-matplotlib.spec b/python-matplotlib.spec index 6500b8b..c3622fe 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -1,6 +1,5 @@ -%if 0%{?fedora} >= 18 +%if 0%{?fedora} %global with_python3 1 -%global basepy3dir %(echo ../`basename %{py3dir}`) %else %global with_python3 0 %endif @@ -16,7 +15,7 @@ %endif # On Fedora 21 onwards, enable Qt5 backend: -%if 0%{?fedora} >= 21 +%if 0%{?fedora} %global with_qt5 1 %else %global with_qt5 0