Drop libwacom-show-stylus, it's a debugging tool that requires extra

dependencies that we shouldn't pull in everywhere (#2044710)

Related: rhbz#2044710
This commit is contained in:
Peter Hutterer 2022-01-31 09:51:57 +10:00
parent 8988a7ec68
commit 24e23917dc

View File

@ -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 <peter.hutterer@redhat.com> - 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 <peter.hutterer@redhat.com> - 1.12.1-1
- libwacom 1.12.1 (#2044710)