From bf5693576ad484074a7a21c91c49d311dcbbf000d53fec640ccec1e2d4d28c04 Mon Sep 17 00:00:00 2001 From: Matthias Bach Date: Thu, 21 Dec 2023 20:26:11 +0000 Subject: [PATCH] - Fix package setting a wrong mode for /etc/security/limits.d. - Drop unused rpmlint filter. OBS-URL: https://build.opensuse.org/package/show/games:tools/gamemode?expand=0&rev=37 --- gamemode-rpmlintrc | 3 --- gamemode.changes | 6 ++++++ gamemode.spec | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gamemode-rpmlintrc b/gamemode-rpmlintrc index ce2cf70..9b319d3 100644 --- a/gamemode-rpmlintrc +++ b/gamemode-rpmlintrc @@ -10,6 +10,3 @@ addFilter('gamemode.* unexpanded-macro %description -l C %command') # 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') diff --git a/gamemode.changes b/gamemode.changes index c40e999..8b131f2 100644 --- a/gamemode.changes +++ b/gamemode.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 21 20:13:21 UTC 2023 - Matthias Bach + +- 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 diff --git a/gamemode.spec b/gamemode.spec index 58b1e36..0ca2398 100644 --- a/gamemode.spec +++ b/gamemode.spec @@ -177,7 +177,8 @@ mv %{buildroot}/%{_datadir}/polkit-1/rules.d/gamemode.rules %{buildroot}/%{_data %{_datadir}/metainfo/io.github.feralinteractive.gamemode.metainfo.xml %{_mandir}/*/gamemoded* %{_sysusersdir}/%{name}.conf -%config(noreplace) %{_sysconfdir}/security/limits.d +%dir %{_sysconfdir}/security/limits.d +%config(noreplace) %{_sysconfdir}/security/limits.d/10-gamemode.conf %doc example/gamemode.ini README.openSUSE %license LICENSE.txt