BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: zlib-devel libpng-devel libjpeg-devel expat-devel
-BuildRequires: /bin/ksh bison m4 flex swig freetype-devel >= 2
+BuildRequires: /bin/ksh bison m4 flex swig tk tcl >= 8.3 freetype-devel >= 2
#-- Red Hat Linux specific Build Requirements -------------------------------
%if 0%{?rhl}
%define TCL 1
-BuildRequires: XFree86-devel tk tcl >= 8.3
+BuildRequires: XFree86-devel
# This just indicates the requirement for tcl.h, tk.h, but doesn't identify
# where to get them from. In RH9 and earlier they were in the tcl, tk,
# base packages which are always BR'd anyway (above).
%if 0%{?rhel}
%define TCL 1
%if "%rhel" < "4"
-BuildRequires: XFree86-devel tk tcl >= 8.3
+BuildRequires: XFree86-devel
# This just indicates the requirement for tcl.h, tk.h, but doesn't identify
# where to get them from. In RH9 and earlier they were in the tcl, tk,
# base packages which are always BR'd anyway (above).