From 24e23917dcabc7cce7d9acb1820e2e4b28972844 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 31 Jan 2022 09:51:57 +1000 Subject: [PATCH] Drop libwacom-show-stylus, it's a debugging tool that requires extra dependencies that we shouldn't pull in everywhere (#2044710) Related: rhbz#2044710 --- libwacom.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/libwacom.spec b/libwacom.spec index 8444554..eb3141b 100644 --- a/libwacom.spec +++ b/libwacom.spec @@ -1,6 +1,6 @@ Name: libwacom Version: 1.12.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tablet Information Client Library Requires: %{name}-data @@ -48,6 +48,12 @@ Tablet information client library data files. %meson_install install -d ${RPM_BUILD_ROOT}/%{_udevrulesdir} +# libwacom-show-stylus is an interactive debugging tool to find the stylus ID. +# It's has extra dependencies we don't want to force onto every machine +# libwacom is on and it's only used where we need to write new tablet files +# for unknown stylus. Let's skip it. +rm ${RPM_BUILD_ROOT}/%{_bindir}/libwacom-show-stylus + %check %meson_test @@ -59,7 +65,6 @@ install -d ${RPM_BUILD_ROOT}/%{_udevrulesdir} %{_libdir}/libwacom.so.* %{_bindir}/libwacom-list-devices %{_bindir}/libwacom-list-local-devices -%{_bindir}/libwacom-show-stylus %{_bindir}/libwacom-update-db %{_mandir}/man1/libwacom-list-devices.1* @@ -83,6 +88,10 @@ install -d ${RPM_BUILD_ROOT}/%{_udevrulesdir} %{_datadir}/libwacom/layouts/*.svg %changelog +* Mon Jan 31 2022 Peter Hutterer - 1.12.1-2 +- Drop libwacom-show-stylus, it's a debugging tool that requires extra + dependencies that we shouldn't pull in everywhere (#2044710) + * Thu Jan 27 2022 Peter Hutterer - 1.12.1-1 - libwacom 1.12.1 (#2044710)