]> granicus.if.org Git - graphviz/commitdiff
QT is too short for macro name, use QT4
authorJohn Ellson <ellson@research.att.com>
Thu, 26 Jul 2018 17:43:30 +0000 (13:43 -0400)
committerJohn Ellson <ellson@research.att.com>
Thu, 26 Jul 2018 17:43:30 +0000 (13:43 -0400)
redhat/graphviz.spec.fedora.in

index a7946f83e1b9b9a288b47345068acc2be9c8a650..a75d91c7469368c34bcc09e28238072ead8755ee 100644 (file)
@@ -31,7 +31,7 @@ Source0: http://www.graphviz.org/pub/@GRAPHVIZ_SOURCES@/graphviz-@VERSION@.tar.g
 %global PYTHON   0
 %global PYTHON2  1
 %global PYTHON3  1
-%global QT       0
+%global QT4      0
 %global QT5      1
 # Not yet.
 %global MING     0
@@ -51,7 +51,7 @@ Source0: http://www.graphviz.org/pub/@GRAPHVIZ_SOURCES@/graphviz-@VERSION@.tar.g
 %global PYTHON   1
 %global PYTHON2  0
 %global PYTHON3  0
-%global QT       1
+%global QT4      1
 %global QT5      0
 %endif
 
@@ -108,10 +108,10 @@ BuildRequires: golang gcc-go swig >= 3.0.2
 %if %{GTK}
 BuildRequires: libglade2-devel gtkglarea2-devel gtkglext-devel glade3-libgladeui-devel
 %endif
-%if %{QT}
+%if %{QT4}
 BuildRequires: qt-devel
 %endif
-%if %{QT}
+%if %{QT5}
 BuildRequires: qt5-devel
 %endif