Description of problem: Tcl 8.5 in Fedora uses a limited set of directories for searching for extensions such as expect. As a result, the pkgIndex.tcl file for an extension must be installed into a subdirectory of either /usr/lib/tcl8.5 or /usr/share/tcl8.5. If this is not done, then 'package require Expect' will fail for Tcl scripts. Expect currently installs into /usr/lib/expect5.43. This should be modified to /usr/lib/tcl8.5/expect5.43. Version-Release number of selected component (if applicable): expect-5.43.0-11.fc9.1 How reproducible: Always Steps to Reproduce: 1. Install tcl and expect from Rawhide 2. run 'tclsh' 3. In the tcl interpreter, type 'package require Expect' Actual results: The command fails with "can't find package Expect" Expected results: The command succeeds and returns the version of the expect package '5.43.0' Additional info: The attached patches fix this problem. The first patch, -pkgpath, Modifies the Makefile and configure script with the correct install directory. The second patch is for the .spec file to look for the files in the correct locations.
Created attachment 291638 [details] Patch to install files into the location where tcl will find them
Created attachment 291640 [details] Patch to spec file to package files in correct directory This patch also contains a modification to the -lib-spec patch so that linking works.