Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gamemode for openSUSE:Factory 
checked in at 2023-12-21 23:39:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gamemode (Old)
 and      /work/SRC/openSUSE:Factory/.gamemode.new.1840 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gamemode"

Thu Dec 21 23:39:12 2023 rev:12 rq:1134551 version:1.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gamemode/gamemode.changes        2023-05-11 
14:13:53.345480679 +0200
+++ /work/SRC/openSUSE:Factory/.gamemode.new.1840/gamemode.changes      
2023-12-21 23:39:25.448313473 +0100
@@ -1,0 +2,34 @@
+Thu Dec 21 20:13:21 UTC 2023 - Matthias Bach <ma...@marix.org>
+
+- Fix package setting a wrong mode for /etc/security/limits.d.
+- Drop unused rpmlint filter.
+
+-------------------------------------------------------------------
+Wed Dec 13 11:54:01 UTC 2023 - Matthias Bach <ma...@marix.org>
+
+- Fix GameMode's PolicyKit rules not applying.
+
+-------------------------------------------------------------------
+Wed Dec 13 08:03:00 UTC 2023 - Matthias Bach <ma...@marix.org>
+
+- Update to version 1.8.1
+  * Fix syntax error in polkit rules.
+
+-------------------------------------------------------------------
+Fri Dec  8 18:07:49 UTC 2023 - Matthias Bach <ma...@marix.org> - 1.8
+
+- Update to version 1.8
+  * Requires users to be a member of the "gamemode" group to
+    utilise priviledged functionality like modifying the CPU
+    governor.
+  * Adds CPU core pinning and parking capability.
+  * Allows disabling the Linux kernel split lock mitigation.
+  * Fixes building when pidfd_open is available.
+  * Unifies privileged group configuration between pam, systemd,
+    and polkit.
+  * Various other bugfixes and improved default configuration
+- Drop workaround for problematic pidfd_open dection on Tumbleweed
+  now that compilation with pidfd_open is fixed upstream.
+- Drop no longer required only-build-shared-library.patch.
+
+-------------------------------------------------------------------

Old:
----
  gamemode-1.7.tar.xz
  gamemode-1.7.tar.xz.asc
  only-build-shared-library.patch

New:
----
  gamemode-1.8.1.tar.xz
  gamemode-1.8.1.tar.xz.asc

BETA DEBUG BEGIN:
  Old:  now that compilation with pidfd_open is fixed upstream.
- Drop no longer required only-build-shared-library.patch.
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gamemode.spec ++++++
--- /var/tmp/diff_new_pack.xeVdoj/_old  2023-12-21 23:39:25.932331148 +0100
+++ /var/tmp/diff_new_pack.xeVdoj/_new  2023-12-21 23:39:25.932331148 +0100
@@ -18,7 +18,7 @@
 
 
 Name:           gamemode
-Version:        1.7
+Version:        1.8.1
 Release:        0
 Summary:        Daemon/library combo for changing Linux system performance on 
demand
 License:        BSD-3-Clause
@@ -30,13 +30,13 @@
 Source3:        README.openSUSE
 Source4:        baselibs.conf
 Source5:        feral.keyring
-Patch0:         only-build-shared-library.patch
 BuildRequires:  cmake
 BuildRequires:  libinih-devel
 BuildRequires:  meson
 BuildRequires:  ninja
 BuildRequires:  pkgconfig
 BuildRequires:  polkit-devel
+BuildRequires:  sysuser-tools
 BuildRequires:  pkgconfig(dbus-1)
 # Yes, it needs both
 BuildRequires:  pkgconfig(libsystemd)
@@ -66,12 +66,16 @@
 
     gamemoderun %%command%%
 
+Note that some functionalities, like modifying the CPU governor, require
+the user to be in the priviledged "gamemode" group.
+
 %package -n gamemoded
 Summary:        The GameMode daemon required by GameMode enabled games
 Group:          Amusements/Games/Other
 Recommends:     libgamemode
 Suggests:       gamemode
 Suggests:       libgamemodeauto
+%sysusers_requires
 
 %description -n gamemoded
 GameMode is a daemon/lib combo for Linux that allows games to request
@@ -132,9 +136,6 @@
 
 cp %{SOURCE3} .
 
-# Work around broken pidfd_open detection on Tumbleweed
-sed -i 's/pidfd_open = .*/pidfd_open = false/' meson.build
-
 %build
 %meson -Dwith-examples=false
 %meson_build
@@ -144,15 +145,18 @@
 
 %install
 %meson_install
-# We don't want to create the gamemode group as without further
-# configuration to actually use it, it does not provide any value
-rm %{buildroot}/%{_sysusersdir}/gamemode.conf
+
+# Fix gamemode PolKit rules being overriden by default rules
+mv %{buildroot}/%{_datadir}/polkit-1/rules.d/gamemode.rules 
%{buildroot}/%{_datadir}/polkit-1/rules.d/40-gamemode.rules
 
 %post -n libgamemode0 -p /sbin/ldconfig
 %postun -n libgamemode0 -p /sbin/ldconfig
 %post -n libgamemodeauto0 -p /sbin/ldconfig
 %postun -n libgamemodeauto0 -p /sbin/ldconfig
 
+%post -n gamemoded
+%sysusers_create %{name}.conf
+
 %files
 %{_bindir}/gamemodelist
 %{_bindir}/gamemoderun
@@ -163,12 +167,18 @@
 %files -n gamemoded
 %{_bindir}/gamemoded
 %{_libexecdir}/cpugovctl
+%{_libexecdir}/cpucorectl
 %{_libexecdir}/gpuclockctl
+%{_libexecdir}/procsysctl
 %{_userunitdir}/gamemoded.service
 %{_datadir}/polkit-1/actions/com.feralinteractive.GameMode.policy
+%{_datadir}/polkit-1/rules.d/40-gamemode.rules
 %{_datadir}/dbus-1/services/com.feralinteractive.GameMode.service
 %{_datadir}/metainfo/io.github.feralinteractive.gamemode.metainfo.xml
 %{_mandir}/*/gamemoded*
+%{_sysusersdir}/%{name}.conf
+%dir %{_sysconfdir}/security/limits.d
+%config(noreplace) %{_sysconfdir}/security/limits.d/10-gamemode.conf
 %doc example/gamemode.ini README.openSUSE
 %license LICENSE.txt
 

++++++ README.openSUSE ++++++
--- /var/tmp/diff_new_pack.xeVdoj/_old  2023-12-21 23:39:25.960332171 +0100
+++ /var/tmp/diff_new_pack.xeVdoj/_new  2023-12-21 23:39:25.964332317 +0100
@@ -12,3 +12,9 @@
 
     systemctl --user restart gamemoded
 
+Permissions
+===========
+
+Some feature, like renicing the process run in GameMode, require elevated 
priviledges.
+To grant these, add your user to the "gamemode" group.
+


++++++ gamemode-1.7.tar.xz -> gamemode-1.8.1.tar.xz ++++++
++++ 2061 lines of diff (skipped)

++++++ gamemode-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.xeVdoj/_old  2023-12-21 23:39:26.076336407 +0100
+++ /var/tmp/diff_new_pack.xeVdoj/_new  2023-12-21 23:39:26.080336553 +0100
@@ -11,6 +11,3 @@
 # Libgamemodeauto loads the dependency via dlopen, so it cannot be picked up 
automatically.
 addFilter('libgamemodeauto.* explicit-lib-dependency libgamemode')
 
-# Libgamemodeauto actually has a % in its description.
-addFilter('libgamemodeauto.* unexpanded-macro %description -l C %command')
-

Reply via email to