- Add an unversioned symlink to make linking easier for

applications that use libexpect without Tcl (boo#1172681).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/expect?expand=0&rev=24
This commit is contained in:
Reinhard Max 2020-10-15 08:34:16 +00:00 committed by Git OBS Bridge
parent f494ea8afd
commit 73531d7b46
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> Thu Oct 25 09:10:24 UTC 2018 - Reinhard Max <max@suse.com>

View File

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