Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package fwupd for openSUSE:Factory checked 
in at 2026-10-12 22:05:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fwupd (Old)
 and      /work/SRC/openSUSE:Factory/.fwupd.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fwupd"

Mon Oct 12 22:05:26 2026 rev:122 rq:1384173 version:2.1.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/fwupd/fwupd.changes      2026-09-28 
10:35:45.990096235 +0200
+++ /work/SRC/openSUSE:Factory/.fwupd.new.3698736/fwupd.changes 2026-10-12 
22:05:38.333355202 +0200
@@ -1,0 +2,13 @@
+Thu Oct  8 09:13:34 UTC 2026 - Matthias Gerstner <[email protected]>
+
+- move Polkit rules into the proper package
+
+-------------------------------------------------------------------
+Wed Oct  7 12:05:22 UTC 2026 - Matthias Gerstner <[email protected]>
+
+- package org.freedesktop.fwupd.rules to allow fwupd-refresh.service to
+  succeed for the "fwupd-refresh" service user (bsc#1279948).
+- add polkit-rules.patch: patch out the "wheel" group part from the Polkit
+  policy, which was the reason for not packaging the rules files previously.
+
+-------------------------------------------------------------------

New:
----
  polkit-rules.patch

----------(New B)----------
  New:  succeed for the "fwupd-refresh" service user (bsc#1279948).
- add polkit-rules.patch: patch out the "wheel" group part from the Polkit
  policy, which was the reason for not packaging the rules files previously.
----------(New E)----------

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

Other differences:
------------------
++++++ fwupd.spec ++++++
--- /var/tmp/diff_new_pack.s8ygX4/_old  2026-10-12 22:05:39.361398156 +0200
+++ /var/tmp/diff_new_pack.s8ygX4/_new  2026-10-12 22:05:39.362398197 +0200
@@ -52,6 +52,7 @@
 Source:         %{name}-%{version}.tar.xz
 Source99:       fwupd-rpmlintrc
 Patch1:         fwupd-bsc1217138-fallback-shim-path.patch
+Patch2:         polkit-rules.patch
 
 BuildRequires:  dejavu-fonts
 BuildRequires:  fdupes
@@ -253,9 +254,6 @@
 %find_lang %{name}
 %fdupes -s %{buildroot}%{_datadir}/doc
 
-# Do not ship default polkit .rules - openSUSE overrides them anyway - 
boo#1125428
-rm %{buildroot}%{_datadir}/polkit-1/rules.d/org.freedesktop.fwupd.rules
-
 # installed-tests are packaged in fwupd-tests subpackage
 
 %if %{without fish_support}
@@ -354,6 +352,7 @@
 %{_libdir}/fwupd-*/libfwupdutil.so
 %{_datadir}/%{name}/quirks.d/builtin.quirk.gz
 %_sysusersdir/fwupd.conf
+%{_datadir}/polkit-1/rules.d/org.freedesktop.fwupd.rules
 
 %files -n libfwupd%{shlib_sover}
 %{_libdir}/libfwupd.so.*

++++++ polkit-rules.patch ++++++
Index: fwupd-2.1.8/policy/org.freedesktop.fwupd.rules
===================================================================
--- a/policy/org.freedesktop.fwupd.rules
+++ b/policy/org.freedesktop.fwupd.rules
@@ -1,3 +1,6 @@
+/*
+ * disabled due to boo#1125428
+
 polkit.addRule(function(action, subject) {
     if (action.id == "org.freedesktop.fwupd.update-internal" &&
         subject.active == true && subject.local == true &&
@@ -5,6 +8,7 @@ polkit.addRule(function(action, subject)
             return polkit.Result.YES;
     }
 });
+*/
 
 // Always allow the fwupd-refresh service user to refresh metadata.
 polkit.addRule(function(action, subject) {

Reply via email to