]> granicus.if.org Git - graphviz/commitdiff
attempt to deal with php versioning crap on EL4
authorJohn Ellson <ellson@research.att.com>
Wed, 19 Feb 2014 20:59:02 +0000 (15:59 -0500)
committerJohn Ellson <ellson@research.att.com>
Wed, 19 Feb 2014 20:59:02 +0000 (15:59 -0500)
graphviz.spec.in

index 686bba2d9951420d2de3a725bfc527a1c32a4bb5..0e0fe316fd6e36330ca71ba964955a68ffa22d89 100644 (file)
@@ -664,7 +664,11 @@ Perl extension for graphviz.
 %package lang-php
 Group:          Applications/Multimedia
 Summary:        PHP extension for graphviz
+%if %rhel == 5
+Requires:       %{name} = %{version}-%{release}, php53
+%else
 Requires:       %{name} = %{version}-%{release}, php
+%endif
 Obsoletes:     %{name}-php
 
 %description lang-php