From 47a754a79ae2a8422f2f2a58977608e31433695d Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Thu, 2 Feb 2006 18:29:21 +0000 Subject: [PATCH] Don't use ksh on ia64. --- tcl.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tcl.spec b/tcl.spec index deeb64e..05427c6 100644 --- a/tcl.spec +++ b/tcl.spec @@ -3,14 +3,17 @@ Summary: Tcl scripting language development environment Name: tcl Version: %{majorver}.12 -Release: 1 +Release: 2 License: BSD Group: Development/Languages URL: http://tcl.sourceforge.net/ Source0: http://download.sourceforge.net/tcl/%{name}%{version}-src.tar.gz Source1: http://download.sourceforge.net/tcl/tk%{version}-src.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -Buildrequires: autoconf, sed, ksh +Buildrequires: autoconf, sed +%ifnarch ia64 +Buildrequires: ksh +%endif Patch1: tcl-8.3.5-tclm4-soname.patch Patch2: tcl-8.4.5-lib-perm.patch Patch3: tcl8.3.5-tclConfig-package-path-90160.patch @@ -71,10 +74,12 @@ cd %{name}%{version} cd unix autoconf +%ifnarch ia64 # use ksh instead of bash (upstream knows bash-3.1 breaks, they are working # on a fix for 8.4.13 or a later release) sed -i -e 's,#! /bin/sh,#! /bin/ksh,g' configure sed -i -e 's,#! /bin/bash -norc,#! /bin/ksh,g' configure.in +%endif %build cd %{name}%{version}/unix @@ -153,6 +158,9 @@ rm -rf $RPM_BUILD_ROOT %doc %{name}%{version}/html/* %changelog +* Thu Feb 02 2006 David Cantrell - 8.4.12-2 +- Don't use ksh on ia64 + * Thu Feb 02 2006 David Cantrell - 8.4.12-1 - Upgraded to tcl-8.4.12 - Use ksh rather than bash for the configure script (known bug w/ bash-3.1)