]> granicus.if.org Git - graphviz/commitdiff
try again
authorJohn Ellson <ellson@research.att.com>
Wed, 19 Feb 2014 21:18:25 +0000 (16:18 -0500)
committerJohn Ellson <ellson@research.att.com>
Wed, 19 Feb 2014 21:18:25 +0000 (16:18 -0500)
graphviz.spec.in

index 123f0e911707d96df9a13644c26dd4b2f83e6fe0..529e884fba578f6b1064e91a4ebf45ab52ab7e1a 100644 (file)
@@ -665,12 +665,14 @@ Perl extension for graphviz.
 Group:          Applications/Multimedia
 Summary:        PHP extension for graphviz
 Requires:       %{name} = %{version}-%{release}
-%if %rhel == 5
+%if 0%{?rhel}
+%if >rhel == 5
 Requires:       php53
 %endif
-%if %rhel >= 5
+%if %rhel >= 6
 Requires:       php
 %endif
+%endif
 %if 0%{?fedora}
 Requires:       php
 %endif