]> granicus.if.org Git - graphviz/commitdiff
fixing centos5 breakage
authorellson <devnull@localhost>
Mon, 26 Jul 2010 14:24:29 +0000 (14:24 +0000)
committerellson <devnull@localhost>
Mon, 26 Jul 2010 14:24:29 +0000 (14:24 +0000)
graphviz.spec.in

index eecb4b4ab0c3900f96caf8b7c4f8553072375bcd..b37e858a4d1f4ad7bbecc31d826cd703a35d791a 100644 (file)
@@ -44,8 +44,10 @@ BuildRequires: /bin/ksh bison m4 flex swig tk tcl >= 8.3 freetype-devel >= 2
 
 #-- Red Hat Enterprise Linux (also Centos) specific Build Requirements --------------------
 %if 0%{?rhel}
-%if %rhel >= 4
+%if %rhel == 4
 BuildRequires: xorg-x11-devel
+%endif
+%if %rhel >= 4
 BuildRequires: fontconfig-devel
 %define TCL 1
 BuildRequires: tcl-devel tk-devel