[mingw-tcl: 14/25] put tcl initscripts where tclsh.exe can find them

Kalev Lember kalev at fedoraproject.org
Wed Mar 7 17:56:30 UTC 2012


commit bd2d1fa6362376468ef91efe5214a241d1e1beca
Author: Thomas Sailer <t.sailer at alumni.ethz.ch>
Date:   Wed Feb 2 18:20:13 2011 +0100

    put tcl initscripts where tclsh.exe can find them

 mingw32-tcl.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/mingw32-tcl.spec b/mingw32-tcl.spec
index e25b53f..0ce48b5 100644
--- a/mingw32-tcl.spec
+++ b/mingw32-tcl.spec
@@ -15,7 +15,7 @@
 Summary: MinGW Windows Tool Command Language, pronounced tickle
 Name: mingw32-%{name1}
 Version: %{vers}
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: TCL
 Group: Development/Languages
 URL: http://tcl.sourceforge.net/
@@ -82,7 +82,8 @@ mv $RPM_BUILD_ROOT%{_mingw32_libdir}/lib%{name1}stub%{majorver1}%{majorver2}.a $
 # for linking with -lib%{name1}
 ln -s lib%{name1}%{majorver1}%{majorver2}.dll.a $RPM_BUILD_ROOT%{_mingw32_libdir}/lib%{name1}.dll.a
 
-mkdir -p $RPM_BUILD_ROOT/%{_mingw32_libdir}/%{name1}%{majorver}
+#mkdir -p $RPM_BUILD_ROOT/%{_mingw32_libdir}/%{name1}%{majorver}
+ln -s ../share/%{name1}%{majorver} $RPM_BUILD_ROOT/%{_mingw32_libdir}/%{name1}%{majorver}
 
 # postgresql and maybe other packages too need tclConfig.sh
 # paths don't look at /usr/lib for efficiency, so we symlink into tcl8.5 for now
@@ -128,6 +129,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc license.terms
 
 %changelog
+* Wed Feb  2 2011 Thomas Sailer <t.sailer at alumni.ethz.ch> - 8.5.9-2
+- put the tcl library where tclsh.exe searches for it
+
 * Mon Dec  6 2010 Thomas Sailer <t.sailer at alumni.ethz.ch> - 8.5.9-1
 - update to 8.5.9
 


More information about the scm-commits mailing list