From: John Ellson Date: Wed, 19 Feb 2014 20:59:02 +0000 (-0500) Subject: attempt to deal with php versioning crap on EL4 X-Git-Tag: 2.38.0~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c142c58df660d40137f97e5f40bdf7acaa6e11b8;p=graphviz attempt to deal with php versioning crap on EL4 --- diff --git a/graphviz.spec.in b/graphviz.spec.in index 686bba2d9..0e0fe316f 100644 --- a/graphviz.spec.in +++ b/graphviz.spec.in @@ -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