]> granicus.if.org Git - graphviz/commitdiff
retry disable PHP7
authorJohn Ellson <ellson@research.att.com>
Fri, 8 Jul 2016 16:38:42 +0000 (12:38 -0400)
committerJohn Ellson <ellson@research.att.com>
Fri, 8 Jul 2016 16:38:42 +0000 (12:38 -0400)
graphviz.spec.in

index d1e98625b002a50c82ba9a672825fc7b84dc9c34..a214c1f1fe070039c1b654967ad62ce4d61f1ac2 100644 (file)
@@ -116,8 +116,6 @@ BuildRequires: guile-devel
 BuildRequires: python python-devel
 %define JAVA 1
 BuildRequires: java-devel
-%define PHP 1
-BuildRequires: php-devel
 %define _QT 1
 BuildRequires: qt-devel
 %ifnarch ppc64
@@ -168,9 +166,10 @@ BuildRequires: libwebp-devel
 %define _GO 1
 BuildRequires: golang >= 1.2 gcc-go swig >= 3.0.2
 %endif
-%if %fedora >= 25
-%undef PHP
-# disable PHP7 in fc25 until such time as swig supports it
+%if %fedora <= 24
+%define PHP 1
+BuildRequires: php-devel
+# disable PHP7 in fc25 until swig supports it
 %endif
 %endif