Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libratbag for openSUSE:Factory checked in at 2023-05-12 20:37:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libratbag (Old) and /work/SRC/openSUSE:Factory/.libratbag.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libratbag" Fri May 12 20:37:09 2023 rev:15 rq:1086539 version:0.17 Changes: -------- --- /work/SRC/openSUSE:Factory/libratbag/libratbag.changes 2022-11-10 14:23:38.866812655 +0100 +++ /work/SRC/openSUSE:Factory/.libratbag.new.1533/libratbag.changes 2023-05-12 20:40:00.970767201 +0200 @@ -1,0 +2,9 @@ +Thu May 11 12:13:19 UTC 2023 - Matthias Bach <[email protected]> - 0.17 + +- Document the need for users of ratbagd to be a member of the + group games (bsc#1210669) + * In description of ratbagd package + * In the new README.SUSE file of the ratbagd package. +- Switch package to using %autosetup + +------------------------------------------------------------------- New: ---- README.SUSE ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libratbag.spec ++++++ --- /var/tmp/diff_new_pack.R0tDTK/_old 2023-05-12 20:40:01.518770212 +0200 +++ /var/tmp/diff_new_pack.R0tDTK/_new 2023-05-12 20:40:01.522770234 +0200 @@ -1,7 +1,7 @@ # # spec file for package libratbag # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2019 Matthias Bach <[email protected]>. # # All modifications and additions to the file contributed by third parties @@ -24,7 +24,8 @@ License: MIT Group: Development/Libraries/C and C++ URL: https://github.com/libratbag/libratbag -Source: %{name}-%{version}.tar.xz +Source0: %{name}-%{version}.tar.xz +Source1: README.SUSE Patch1: shebang-env.diff Patch2: install-daemon-into-sbindir.patch Patch3: harden_ratbagd.service.patch @@ -71,6 +72,8 @@ abstracts away hardware-specific and kernel-specific quirks. This subpackage contains the daemon managing access to the hardware. +It enables any user that is a member of the group "games" to configure +supported mice via ratbagctl or Piper. %package devel Summary: Development files for the libratbag game mouse config library @@ -100,9 +103,8 @@ mice. %prep -%setup -q -%patch -P 1 -P 2 -p1 -%patch3 -p1 +%autosetup -p1 +cp %{SOURCE1} . %build %meson -Ddocumentation=false -Ddbus-group=games \ @@ -148,6 +150,7 @@ %{_datadir}/dbus-1/ %{_datadir}/%{name}/ %{_mandir}/man8/* +%doc README.SUSE %files tools %{_bindir}/lur-command ++++++ README.SUSE ++++++ Granting users access for mouse configuration ============================================= Access to the ratbagd deamon is limited to users in the group "games". Thus, any user wanting to use libratbag via an application that utilises the daemon, like ratbagctl or Piper, needs to be a member of this group. ++++++ install-daemon-into-sbindir.patch ++++++ --- /var/tmp/diff_new_pack.R0tDTK/_old 2023-05-12 20:40:01.630770828 +0200 +++ /var/tmp/diff_new_pack.R0tDTK/_new 2023-05-12 20:40:01.634770850 +0200 @@ -1,7 +1,8 @@ From: Matthias Bach <[email protected]> Date: 2018-07-27 22:59:22 +0200 Subject: Install ratbagd into sbindir -Upstream: to be done +Upstream: merged +References: https://github.com/libratbag/libratbag/pull/1443 Ratbagd requires to be run by root. It should thus live in the system binary directory.
