From 0af0dc91894f2598f0e19e3cd2c1b34925c9cd61 Mon Sep 17 00:00:00 2001 From: John Ellson Date: Sat, 7 Mar 2020 14:20:49 -0500 Subject: [PATCH] fix for python version churn on .el8 --- redhat/graphviz.spec.fedora.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/redhat/graphviz.spec.fedora.in b/redhat/graphviz.spec.fedora.in index f9f04829b..c0826daa1 100644 --- a/redhat/graphviz.spec.fedora.in +++ b/redhat/graphviz.spec.fedora.in @@ -51,9 +51,15 @@ Source0: http://www.graphviz.org/pub/@GRAPHVIZ_SOURCES@/graphviz-@VERSION@.tar.g %global GTK 0 %global JAVASCRIPT 0 %global LASI 0 +%if 0%{?rhel} >= 8 +%global PYTHON 0 +%global PYTHON2 1 +%global PYTHON3 1 +%else %global PYTHON 1 %global PYTHON2 0 %global PYTHON3 0 +%endif %global SHARP 0 %global WEBP 0 %endif -- 2.40.0