]> granicus.if.org Git - graphviz/commitdiff
fix for python version churn on .el8
authorJohn Ellson <john.ellson@gmail.com>
Sat, 7 Mar 2020 19:20:49 +0000 (14:20 -0500)
committerJohn Ellson <john.ellson@gmail.com>
Sat, 7 Mar 2020 19:20:49 +0000 (14:20 -0500)
redhat/graphviz.spec.fedora.in

index f9f04829b7a9a2c8bffa46f33cddbd84c22b58a2..c0826daa178a0e86ccef4fd9bf4605c12130c9f4 100644 (file)
@@ -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