Accepting request 863091 from devel:languages:tcl

- tclConfig.sh: Fix path names and avoid braces in TCL_PACKAGE_PATH
- Set TCL_LIBRARY at configure time for better consistency.

- New version: 8.6.11:
  * Add tcltest::(Setup|Eval|Cleanup|)Test
  * Update to Unicode-13
  * Add 3 libtommath functions to stub table
  * Many more bug fixes
- Potentially incompatible changes:
  * (bug)[ffeb20] [binary decode base64] ignore invalid chars
  * (bug)[b8e82d] some -maxlen values break uuencode round trip
  * (bug)[085913] Tcl_DStringAppendElement # quoting precision
  * (bug)[81242a] revised documentation for Tcl_UtfAtIndex()
  * (bug)[ed2980] Tcl_UtfToUniChar reads > TCL_UTF_MAX bytes
  * (bug)[a1bd37] [clock scan] new ISO format (clock-34.(19-24))
  * (bug)[501974] [clock scan] +time zone (clock-34.(53-68))
  * (new) force -eofchar \032 when evaluating library scripts
  * (new)[48898a] improve error message consistency
  * (new) revised case of module names

OBS-URL: https://build.opensuse.org/request/show/863091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcl?expand=0&rev=60
This commit is contained in:
Dominique Leuenberger 2021-01-19 14:58:21 +00:00 committed by Git OBS Bridge
commit 3286d8e8b3
4 changed files with 37 additions and 12 deletions

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Thu Jan 14 10:21:47 UTC 2021 - Reinhard Max <max@suse.com>
- tclConfig.sh: Fix path names and avoid braces in TCL_PACKAGE_PATH
- Set TCL_LIBRARY at configure time for better consistency.
-------------------------------------------------------------------
Mon Jan 4 13:54:08 UTC 2021 - Reinhard Max <max@suse.com>
- New version: 8.6.11:
* Add tcltest::(Setup|Eval|Cleanup|)Test
* Update to Unicode-13
* Add 3 libtommath functions to stub table
* Many more bug fixes
- Potentially incompatible changes:
* (bug)[ffeb20] [binary decode base64] ignore invalid chars
* (bug)[b8e82d] some -maxlen values break uuencode round trip
* (bug)[085913] Tcl_DStringAppendElement # quoting precision
* (bug)[81242a] revised documentation for Tcl_UtfAtIndex()
* (bug)[ed2980] Tcl_UtfToUniChar reads > TCL_UTF_MAX bytes
* (bug)[a1bd37] [clock scan] new ISO format (clock-34.(19-24))
* (bug)[501974] [clock scan] +time zone (clock-34.(53-68))
* (new) force -eofchar \032 when evaluating library scripts
* (new)[48898a] improve error message consistency
* (new) revised case of module names
-------------------------------------------------------------------
Fri Nov 20 08:23:18 UTC 2020 - Reinhard Max <max@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package tcl
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
Name: tcl
URL: http://www.tcl.tk
Version: 8.6.10
Version: 8.6.11
Release: 0
%define rrc %{nil}
%define TCL_MINOR %(echo %version | cut -c1-3)
@ -37,7 +37,7 @@ Obsoletes: tcl-64bit
%endif
#
PreReq: /bin/rm
Source0: ftp://ftp.tcl.tk/pub/tcl/tcl8_6/%{name}%{version}%{rrc}-src.tar.gz
Source0: http://prdownloads.sourceforge.net/tcl/%{name}%{version}%{rrc}-src.tar.gz
Source1: tcl-rpmlintrc
Source2: baselibs.conf
Source3: macros.tcl
@ -83,17 +83,17 @@ the Tcl language itself.
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
%define scriptdir %_libdir/tcl
export TCL_PACKAGE_PATH="%scriptdir %_datadir/tcl"
export TCL_LIBRARY="%scriptdir/tcl%TCL_MINOR"
cd unix
autoconf
%configure \
--enable-man-symlinks \
--enable-man-compression=gzip \
--without-tzdata
%define scriptdir %_libdir/tcl
make %{?_smp_mflags} \
PACKAGE_DIR=%_libdir/tcl \
TCL_LIBRARY="%scriptdir/tcl%TCL_MINOR" \
TCL_PACKAGE_PATH="%_libdir/tcl %_datadir/tcl"
PACKAGE_DIR="%scriptdir"
%check
cd unix
@ -146,8 +146,7 @@ exit 0
%install
make -C unix install install-private-headers \
INSTALL_ROOT=%buildroot \
TCL_LIBRARY="%scriptdir/tcl%TCL_MINOR"
INSTALL_ROOT=%buildroot
rm -f %buildroot%scriptdir/tcl%TCL_MINOR/ldAix
ln -sf tclsh%TCL_MINOR %buildroot%_prefix/bin/tclsh
ln -sf tclsh.1.gz %buildroot%_mandir/man1/tclsh%TCL_MINOR.1.gz

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5196dbf6638e3df8d5c87b5815c8c2b758496eb6f0e41446596c9a4e638d87ed
size 10144235

3
tcl8.6.11-src.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c0486668586672c5693d7d95817cb05a18c5ecca2f40e2836b9578064088258
size 10259009