]> granicus.if.org Git - graphviz/commitdiff
Add a Requires for graphviz-gd for RHEL/Centos < 5 since
authorellson <devnull@localhost>
Wed, 8 Oct 2008 13:44:20 +0000 (13:44 +0000)
committerellson <devnull@localhost>
Wed, 8 Oct 2008 13:44:20 +0000 (13:44 +0000)
these systems do not have cairo support

graphviz.spec.in

index 3fac192fabace3f32792573effb2c9b42c322471..99741cb8205397e11702baf780aeb0369e5f0dcb 100644 (file)
@@ -165,6 +165,9 @@ BuildRequires: xorg-x11-devel
 %define PYTHON 1
 BuildRequires: libtool-ltdl libtool-ltdl-devel ruby ruby-devel guile-devel python-devel
 %endif
+%if %fedora < 5
+Requires graphviz-gd
+%endif
 %if %fedora >= 5
 %define PHP 1
 %define JAVA 1
@@ -228,6 +231,9 @@ BuildRequires: xorg-x11-devel
 %define PYTHON 1
 BuildRequires: libtool-ltdl libtool-ltdl-devel ruby ruby-devel guile-devel python-devel
 %endif
+%if %att_fedora < 5
+Requires graphviz-gd
+%endif
 %if %att_fedora >= 5
 %define PHP 1
 %define JAVA 1