Don't use ksh on ia64.

This commit is contained in:
David Cantrell 2006-02-02 18:29:21 +00:00
parent 6a9a0fe89e
commit 47a754a79a
1 changed files with 10 additions and 2 deletions

View File

@ -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 <dcantrell@redhat.com> - 8.4.12-2
- Don't use ksh on ia64
* Thu Feb 02 2006 David Cantrell <dcantrell@redhat.com> - 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)