[Lsb-messages] /var/www/bzr/lsb/devel/appbat r962: Make a generic /opt/lsb/appbat/lib/tcl symlink to the versioned one (bug 3240)

Stew Benedict stewb at linux-foundation.org
Wed May 23 20:45:12 UTC 2012


------------------------------------------------------------
revno: 962
committer: Stew Benedict <stewb at linux-foundation.org>
branch nick: appbat
timestamp: Wed 2012-05-23 16:45:12 -0400
message:
  Make a generic /opt/lsb/appbat/lib/tcl symlink to the versioned one (bug 3240)
modified:
  rpm/lsb-tcl.spec
-------------- next part --------------
=== modified file 'rpm/lsb-tcl.spec'
--- a/rpm/lsb-tcl.spec	2012-05-23 19:50:57 +0000
+++ b/rpm/lsb-tcl.spec	2012-05-23 20:45:12 +0000
@@ -221,6 +221,10 @@
 # trim/install our tests
 rm -f tcl%{tcl_ver}/tests/*.lsb-test
 rm -f tcl%{tcl_ver}/tests/httpold.test
+# make a generic synlink so we don't need to keep changing the FVT/autotest
+cd %{buildroot}/%{app_prefix}/lib
+ln -sf tcl%{tcl_minor} tcl
+cd -
 cp -ar tcl%{tcl_ver}/tests %{buildroot}/%{app_prefix}/lib/tcl%{tcl_minor}
 
 %pre
@@ -244,8 +248,7 @@
 %{app_prefix}/%{lib}/tclConfig.sh
 %{app_prefix}/%{lib}/libtk*
 %{app_prefix}/%{lib}/tkConfig.sh
-%{app_prefix}/lib/tcl8
-%{app_prefix}/lib/tcl%{tcl_minor}
+%{app_prefix}/lib/tcl*
 %{app_prefix}/lib/tk%{tk_minor}
 %{sharedir}/doc/README.LSB.tcl.build.patches
 



More information about the lsb-messages mailing list