diff --git a/tcl-8.4.7-path.patch b/tcl-8.4.7-path.patch index 999bbf8..003b40e 100644 --- a/tcl-8.4.7-path.patch +++ b/tcl-8.4.7-path.patch @@ -12,13 +12,13 @@ - } +if {[info exists env(TCLLIBPATH)]} { + set auto_path $env(TCLLIBPATH) -+} -+ ++} else { +if {[file exists "/usr/lib64/tclX8.3"]} { + set auto_path "/usr/share/tcl8.4 /usr/share /usr/lib64 /usr/lib" +} else { + set auto_path "" } ++} + + namespace eval tcl { diff --git a/tcl.spec b/tcl.spec index c818849..95d82a6 100644 --- a/tcl.spec +++ b/tcl.spec @@ -3,7 +3,7 @@ Summary: Tcl scripting language development environment Name: tcl Version: %{majorver}.15 -Release: 4%{?dist} +Release: 5%{?dist} Epoch: 1 License: TCL Group: Development/Languages @@ -142,6 +142,10 @@ rm -rf $RPM_BUILD_ROOT %doc %{name}%{version}/html/* %changelog +* Wed Sep 26 2007 Marcela Maslanova - 1:8.4.15-5 +- fix of patch - set auto_path was broken +- Resolves: rhbz#306321 + * Fri Aug 24 2007 Marcela Maslanova - 1:8.4.15-4 - rebuild for mass rebuild - check license & path for 32b/64b fix