From 77bc6be4969a1bf0e435759694bcbe4cfc37efd2f977af7d831a9eebaeba35c5 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 8 Apr 2020 17:04:52 +0000 Subject: [PATCH 1/2] - Remove utilities with unsatisfied runtime dependencies [boo#1168783] OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=223 --- libinput.changes | 6 ++++++ libinput.spec | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/libinput.changes b/libinput.changes index e83b86e..cbbe23c 100644 --- a/libinput.changes +++ b/libinput.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 8 17:01:02 UTC 2020 - Jan Engelhardt + +- Remove utilities with unsatisfied runtime + dependencies [boo#1168783] + ------------------------------------------------------------------- Wed Mar 18 07:28:38 UTC 2020 - Jan Engelhardt diff --git a/libinput.spec b/libinput.spec index 73f439a..df28fd8 100644 --- a/libinput.spec +++ b/libinput.spec @@ -116,9 +116,10 @@ to develop applications that require libinput. %install %meson_install %fdupes %buildroot/%_prefix -perl -i -pe 's{#!/usr/bin/env python}{#!/usr/bin/python}g' \ - "%buildroot/usr/lib/libinput/libinput-measure-fuzz" \ - "%buildroot/usr/lib/libinput/libinput-replay" +# no python3-libevdev available +for i in libinput-measure-fuzz libinput-measure-touch-size libinput-measure-touchpad-pressure libinput-measure-touchpad-tap libinput-replay; do + rm -f "%buildroot/usr/lib/libinput/$i" +done %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig From 6ba15c478cc0f4738bb539b0b6b5ef1f4a5f3b226676484079de0eb4f9a653a7 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 8 Apr 2020 17:21:59 +0000 Subject: [PATCH 2/2] drop manpages OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=224 --- libinput.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libinput.spec b/libinput.spec index df28fd8..a6991a9 100644 --- a/libinput.spec +++ b/libinput.spec @@ -118,7 +118,8 @@ to develop applications that require libinput. %fdupes %buildroot/%_prefix # no python3-libevdev available for i in libinput-measure-fuzz libinput-measure-touch-size libinput-measure-touchpad-pressure libinput-measure-touchpad-tap libinput-replay; do - rm -f "%buildroot/usr/lib/libinput/$i" + rm -fv "%buildroot/usr/lib/libinput/$i" + rm -fv "%buildroot/%_mandir/man1/$i".1* done %post -n %lname -p /sbin/ldconfig