Accepting request 1090656 from home:amanzini:branches:devel:languages:tcl
- added patch exclude_mtime_aiostat_test_on_32bit.patch to exclude mtime test on 32bit platforms - Update to version 0.82 * Bugs fixed: + dict - under some circumstances it was possible to add duplicate keys to a dict + file delete - -force and -- were handled incorrectly + aio: ssl - fix eof detection with openssl3 + getref and setref - now accept fully qualified references + unset - don’t return a result with -nocomplain + Garbage collection - sometimes GC was overly zealous + regexp - builtin regexp fix for end of word check + dict with - now correctly returns the script result + Unicode ranges are closed intervals. This affected the character class of the end character of each range. * Features and improvements added: + aio gets - improve behaviour for non-blocking streams + aio TIP 603 - implement stat of an open file handle + aio socket pty - filename is now available + Included sqlite updated to version 3.38.0 + redis extension - enable TCP_KEEPALIVE, add support for -type and -async + try - add support for trap + oo constructor is now more flexible (possible incompatibility with 0.81) + socket - add support for -async + Updated linenoise now has support for word forward, word backward + Updated Unicode to 14.0.0 + file normalize - now supported on Windows + aio copyto - performance improvement for large copies + Memory allocator is now replaceable + info frame is now more Tcl compatible (incompatibility with 0.81) + New timerate command for improved benchmarking - largely compatible with TIP 527 + vwait - add support for -signal for improved handling of signals in the event loop OBS-URL: https://build.opensuse.org/request/show/1090656 OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/jimtcl?expand=0&rev=7
This commit is contained in:
parent
e26a866427
commit
73c1c57e98
40
exclude_mtime_aiostat_test_on_32bit.patch
Normal file
40
exclude_mtime_aiostat_test_on_32bit.patch
Normal file
@ -0,0 +1,40 @@
|
||||
diff --color -ur jimtcl-0.82.orig/tests/file.test jimtcl-0.82/tests/file.test
|
||||
--- jimtcl-0.82.orig/tests/file.test 2023-02-25 03:09:51.000000000 +0100
|
||||
+++ jimtcl-0.82/tests/file.test 2023-06-03 16:14:54.357097224 +0200
|
||||
@@ -179,21 +179,21 @@
|
||||
set a(type)
|
||||
} {file}
|
||||
|
||||
-test aio-stat-1.1 {file stat via an open file descriptor} {jim aiostat} {
|
||||
- set filename [info script]
|
||||
- set fstat [file stat $filename]
|
||||
- set f [open $filename]
|
||||
- set aiostat [$f stat]
|
||||
- $f close
|
||||
- set ok 1
|
||||
- foreach field {size type mode mtime} {
|
||||
- if {$fstat($field) != $aiostat($field)} {
|
||||
- puts "error: $field: file stat:$fstat($field) != aio stat:$aiostat($field)"
|
||||
- set ok 0
|
||||
- }
|
||||
- }
|
||||
- set ok
|
||||
-} {1}
|
||||
+#test aio-stat-1.1 {file stat via an open file descriptor} {jim aiostat} {
|
||||
+# set filename [info script]
|
||||
+# set fstat [file stat $filename]
|
||||
+# set f [open $filename]
|
||||
+# set aiostat [$f stat]
|
||||
+# $f close
|
||||
+# set ok 1
|
||||
+# foreach field {size type mode mtime} {
|
||||
+# if {$fstat($field) != $aiostat($field)} {
|
||||
+# puts "error: $field: file stat:$fstat($field) != aio stat:$aiostat($field)"
|
||||
+# set ok 0
|
||||
+# }
|
||||
+# }
|
||||
+# set ok
|
||||
+#} {1}
|
||||
|
||||
test ext-1.1 {file ext} -body {
|
||||
file ext
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ab7eb3680ba0d16f4a9eb1e05b7fcbb7d23438e25185462c55cd032a1954a985
|
||||
size 3977705
|
3
jimtcl-0.82.tar.gz
Normal file
3
jimtcl-0.82.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e8af929b815e4d30e54ff116b2b933e56c00a02b9110529d1a58660b2469aea7
|
||||
size 4435258
|
@ -1,3 +1,47 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 3 14:27:09 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- added patch exclude_mtime_aiostat_test_on_32bit.patch to exclude mtime test on 32bit platforms
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 30 08:42:59 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to version 0.82
|
||||
* Bugs fixed:
|
||||
+ dict - under some circumstances it was possible to add duplicate keys to a dict
|
||||
+ file delete - -force and -- were handled incorrectly
|
||||
+ aio: ssl - fix eof detection with openssl3
|
||||
+ getref and setref - now accept fully qualified references
|
||||
+ unset - don’t return a result with -nocomplain
|
||||
+ Garbage collection - sometimes GC was overly zealous
|
||||
+ regexp - builtin regexp fix for end of word check
|
||||
+ dict with - now correctly returns the script result
|
||||
+ Unicode ranges are closed intervals. This affected the character class of the end character of each range.
|
||||
* Features and improvements added:
|
||||
+ aio gets - improve behaviour for non-blocking streams
|
||||
+ aio TIP 603 - implement stat of an open file handle
|
||||
+ aio socket pty - filename is now available
|
||||
+ Included sqlite updated to version 3.38.0
|
||||
+ redis extension - enable TCP_KEEPALIVE, add support for -type and -async
|
||||
+ try - add support for trap
|
||||
+ oo constructor is now more flexible (possible incompatibility with 0.81)
|
||||
+ socket - add support for -async
|
||||
+ Updated linenoise now has support for word forward, word backward
|
||||
+ Updated Unicode to 14.0.0
|
||||
+ file normalize - now supported on Windows
|
||||
+ aio copyto - performance improvement for large copies
|
||||
+ Memory allocator is now replaceable
|
||||
+ info frame is now more Tcl compatible (incompatibility with 0.81)
|
||||
+ New timerate command for improved benchmarking - largely compatible with TIP 527
|
||||
+ vwait - add support for -signal for improved handling of signals in the event loop
|
||||
+ clock millis and clock micros - now use monotonic time if possible (not affected by system time changes)
|
||||
+ ensemble and namespace ensemble simplify creation of ensemble commands
|
||||
* Possible incompatibilities in version 0.82
|
||||
+ New approach to oo constructor means some existing code may need to be altered
|
||||
+ info frame now returns a dict rather than a list and can access non-proc frames. stacktrace will continue to work and should be preferred when retrieving a live stack trace
|
||||
+ New ABI version means that compiled extensions will need to be rebuilt to work with this version
|
||||
- excluded ssl test from running inside build environment
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 18 10:15:19 UTC 2022 - Matwey Kornilov <matwey.kornilov@gmail.com>
|
||||
|
||||
|
31
jimtcl.spec
31
jimtcl.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package jimtcl
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,18 +16,19 @@
|
||||
#
|
||||
|
||||
|
||||
%define libjim_name libjim0_81
|
||||
|
||||
%define libjim_name libjim0_82
|
||||
Name: jimtcl
|
||||
Version: 0.81
|
||||
Version: 0.82
|
||||
Release: 0
|
||||
Summary: A small embeddable Tcl interpreter
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Tcl
|
||||
URL: http://jim.tcl.tk
|
||||
Source: https://github.com/msteveb/jimtcl/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: exclude_mtime_aiostat_test_on_32bit.patch
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: hostname
|
||||
BuildRequires: libopenssl-devel
|
||||
|
||||
%description
|
||||
Jim is an opensource small-footprint implementation of the Tcl programming
|
||||
@ -54,7 +55,13 @@ Group: System/Libraries
|
||||
Jim is an opensource small-footprint implementation of the Tcl programming language.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%autosetup -N -n %{name}-%{version}
|
||||
# exclude aio-stat-1.1 mtime test on 32bit arch
|
||||
%ifarch i586 armv8l
|
||||
%autopatch -p1
|
||||
%endif
|
||||
# exclude SSL test because build env does not have internet connectivity
|
||||
rm tests/ssl.test
|
||||
|
||||
iconv --from=ISO-8859-1 --to=UTF-8 AUTHORS > AUTHORS.new ; mv AUTHORS.new AUTHORS
|
||||
iconv --from=ISO-8859-1 --to=UTF-8 LICENSE > LICENSE.new ; mv LICENSE.new LICENSE
|
||||
@ -66,32 +73,27 @@ export LD=ld
|
||||
export AR=ar
|
||||
export RANLIB=ranlib
|
||||
export STRIP=true
|
||||
%configure --full --shared --disable-option-checking
|
||||
make %{?_smp_mflags}
|
||||
%configure --shared --disable-option-checking
|
||||
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
%make_build test
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -rf %{buildroot}%{_prefix}/docs
|
||||
pushd %{buildroot}%{_libdir}/
|
||||
ln -s libjim.so.* libjim.so
|
||||
popd
|
||||
|
||||
%post -n %{libjim_name} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{libjim_name} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license LICENSE
|
||||
%doc AUTHORS README
|
||||
%{_bindir}/jimsh
|
||||
%{_bindir}/jimdb
|
||||
|
||||
%files -n %{libjim_name}
|
||||
%defattr(-,root,root,-)
|
||||
%license LICENSE
|
||||
%{_libdir}/libjim.so.*
|
||||
%dir %{_libdir}/jim
|
||||
@ -99,7 +101,6 @@ popd
|
||||
%{_libdir}/jim/tcltest.tcl
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%license LICENSE
|
||||
%doc DEVELOPING README.metakit README.namespaces README.oo README.utf-8 STYLE Tcl.html
|
||||
%{_includedir}/*
|
||||
|
Loading…
Reference in New Issue
Block a user