Accepting request 841877 from devel:languages:tcl

- Add an unversioned symlink to make linking easier for
  applications that use libexpect without Tcl (boo#1172681).

OBS-URL: https://build.opensuse.org/request/show/841877
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/expect?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2020-10-18 14:18:05 +00:00 committed by Git OBS Bridge
commit 5ee3f5eb3d
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Oct 15 08:18:32 UTC 2020 - Reinhard Max <max@suse.com>
- Add an unversioned symlink to make linking easier for
applications that use libexpect without Tcl (boo#1172681).
-------------------------------------------------------------------
Thu Oct 25 09:10:24 UTC 2018 - Reinhard Max <max@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package expect
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,7 +22,7 @@ Release: 0
Summary: A Tool for Automating Interactive Programs
License: SUSE-Public-Domain
Group: Development/Languages/Tcl
Url: http://expect.nist.gov
URL: http://expect.nist.gov
Source: https://downloads.sourceforge.net/expect/expect%version.tar.gz
Source1: expect-rpmlintrc
Patch1: expect.patch
@ -81,6 +81,8 @@ sed -i \
rm %buildroot%_bindir/*passwd
rm %buildroot%_bindir/weather
rm %buildroot%_mandir/*/*passwd*
# Simplify linking for apps that use Expect without Tcl
ln -s libexpect%version.so %buildroot%_libdir/libexpect.so
%files
%_bindir/*
@ -90,6 +92,7 @@ rm %buildroot%_mandir/*/*passwd*
%doc ChangeLog HISTORY INSTALL FAQ NEWS README
%files devel
%_libdir/libexpect.so
%_includedir/*
%_mandir/man3/*