commit expect for openSUSE:Factory
Hello community, here is the log from the commit of package expect for openSUSE:Factory checked in at 2017-11-14 14:00:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/expect (Old) and /work/SRC/openSUSE:Factory/.expect.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "expect" Tue Nov 14 14:00:45 2017 rev:26 rq:540243 version:5.45.3 Changes: -------- --- /work/SRC/openSUSE:Factory/expect/expect.changes 2015-08-21 07:34:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.expect.new/expect.changes 2017-11-14 14:00:46.795605234 +0100 @@ -1,0 +2,36 @@ +Wed Nov 8 20:29:35 UTC 2017 - aavindraa@gmail.com + +- New version 5.45.3: + * expect.c: On finding a full buffer during matching the sliding + window mechanism slides too far, truncating the whole buffer and + preventing matches across the boundary. Fix is shortening the + slide distance (slide only one 1/3). + * expect.c: Replaced a cc==0 check with proper Tcl_Eof() check. +- Includes changes from 5.45.2: + * configure: Extended Tcl header detection for OS X Mountain Lion. + * expect.c: Replaced memcpy with memmove to properly handle + overlapping memory. +- Includes changes from 5.45.1: + * exp_chan.c: Fix a problem when talking a tty where the writer + dies. Some operating systems report the condition as EIO with + nothing read, while this actually an EOF. Previously, returned + data was incomplete due to the error causing data in buffers to + be dropped. + * exp_chan.c: Fix a problem with the iteration over the expect + channel list where the loop code may modify the list, breaking + the iterator. + * Fixes for exp_chan.c and exp_command.h + * expect.c: Convert #bytes information to #chars to prevent later + code to fail when copying strings around and miscalculating how + much to copy, for strings containing non-ASCII utf chars. + * exp_inter.c: Hack access to TCL_REG_BOSONLY when not present, + became private with Tcl 8.5 and higher. + * expect.h: Remove the local fiddling with the memory allocation + and panic macros. + * example/unbuffer: Prevent unbuffer from swallowing exit code of + the command it ran (regular mode only, not -p) + * Various deduplications and cleanups +- cleanup with spec-cleaner +- use %make_install macro + +------------------------------------------------------------------- @@ -51 +87 @@ -- Updagte to version 5.44.1.11 from CVS. The changes mainly consist +- Update to version 5.44.1.11 from CVS. The changes mainly consist Old: ---- expect5.45.tar.gz New: ---- expect-5.45.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ expect.spec ++++++ --- /var/tmp/diff_new_pack.YGll6Y/_old 2017-11-14 14:00:47.519578819 +0100 +++ /var/tmp/diff_new_pack.YGll6Y/_new 2017-11-14 14:00:47.519578819 +0100 @@ -1,7 +1,7 @@ # # spec file for package expect # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,21 @@ # -Url: http://expect.nist.gov - Name: expect -BuildRequires: autoconf -BuildRequires: tcl-devel -Version: 5.45 +Version: 5.45.3 Release: 0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: A Tool for Automating Interactive Programs License: SUSE-Public-Domain Group: Development/Languages/Tcl -Source: http://downloads.sourceforge.net/project/%{name}/Expect/%{version}/%{name}%{version}.tar.gz +Url: http://expect.nist.gov +Source: http://downloads.sourceforge.net/project/%{name}/Expect/%{version}/%{name}%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: expect-rpmlintrc Patch1: expect.patch Patch2: expect-fixes.patch Patch3: expect-log.patch Patch4: config-guess-sub-update.patch +BuildRequires: autoconf +BuildRequires: tcl-devel %description Expect is a tool primarily for automating interactive applications, @@ -70,31 +68,29 @@ make %{?_smp_mflags} all pkglibdir=%_libdir/tcl/%name%version %check -make test +make %{?_smp_mflags} test %install # set the right path to the expect binary... sed -i \ - -e '1s,^#![^ ]*expectk,#!/usr/bin/wish\npackage require Expect,' \ - -e '1s,^#![^ ]*expect,#!/usr/bin/expect,' \ + -e '1s,^#![^ ]*expectk,#!%_bindir/wish\npackage require Expect,' \ + -e '1s,^#![^ ]*expect,#!%_bindir/expect,' \ example/* -make install DESTDIR=$RPM_BUILD_ROOT pkglibdir=%_libdir/tcl/%name%version +%make_install pkglibdir=%_libdir/tcl/%name%version # Remove some executables and manpages we don't want to ship -rm $RPM_BUILD_ROOT%_prefix/bin/*passwd -rm $RPM_BUILD_ROOT%_prefix/bin/weather -rm $RPM_BUILD_ROOT%_mandir/*/*passwd* +rm %buildroot%_bindir/*passwd +rm %buildroot%_bindir/weather +rm %buildroot%_mandir/*/*passwd* %files -%defattr(-,root,root) -%_prefix/bin/* +%_bindir/* %_libdir/tcl/* %_libdir/lib*.so -%doc %_mandir/man1/* +%_mandir/man1/* %doc ChangeLog HISTORY INSTALL FAQ NEWS README %files devel -%defattr(-,root,root) %_includedir/* -%doc %_mandir/man3/* +%_mandir/man3/* %changelog
participants (1)
-
root@hilbert.suse.de