From e6d08b81982897cd83ce28b8c164d1ee85f252774f2719a71740daaf4a15f50e Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Wed, 30 Sep 2020 01:40:24 +0000 Subject: [PATCH] Accepting request 837383 from home:dimstar:Factory - Do not package libtswrap.so.0: it's only used by the test suite in a LD_PRELOAD fashion. OBS-URL: https://build.opensuse.org/request/show/837383 OBS-URL: https://build.opensuse.org/package/show/Base:System/kbd?expand=0&rev=133 --- kbd.changes | 6 ++++++ kbd.spec | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/kbd.changes b/kbd.changes index 428c966..1991031 100644 --- a/kbd.changes +++ b/kbd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 25 10:28:40 UTC 2020 - Dominique Leuenberger + +- Do not package libtswrap.so.0: it's only used by the test suite + in a LD_PRELOAD fashion. + ------------------------------------------------------------------- Thu Sep 24 00:08:45 UTC 2020 - Stanislav Brabec diff --git a/kbd.spec b/kbd.spec index 90271b6..6ce2f91 100644 --- a/kbd.spec +++ b/kbd.spec @@ -191,7 +191,7 @@ echo "# Now call kbd install DESTDIR=%{buildroot} DATA_DIR=%{kbd} MAN_DIR=%{_man make DESTDIR=%{buildroot} DATA_DIR=%{kbd} MAN_DIR=%{_mandir} install # This is an internal library, these files have no use outside kbd. rm %{buildroot}%{_libdir}/libtswrap.la -rm %{buildroot}%{_libdir}/libtswrap.so +rm %{buildroot}%{_libdir}/libtswrap.so* # ln -s iso01-12x22.psfu $K/consolefonts/suse12x22.psfu install -m 644 data/consolefonts/README* $DOC/fonts/ mkdir -p $DOC/doc/ @@ -498,8 +498,6 @@ test -f /etc/pam.d/vlock.rpmsave && mv -v /etc/pam.d/vlock.rpmsave /etc/pam.d/vl %{_bindir}/spawn_console %{_bindir}/spawn_login %{_bindir}/vlock -# Internal shared library, no need to split into a separate package. -%{_libdir}/libtswrap.so.* %ifarch %{ix86} x86_64 %dir %{_libexecdir}/%{name} %{_libexecdir}/%{name}/numlockbios