Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package powertop for openSUSE:Factory 
checked in at 2026-01-08 15:26:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/powertop (Old)
 and      /work/SRC/openSUSE:Factory/.powertop.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "powertop"

Thu Jan  8 15:26:27 2026 rev:59 rq:1325811 version:2.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/powertop/powertop.changes        2022-09-29 
18:15:23.963495062 +0200
+++ /work/SRC/openSUSE:Factory/.powertop.new.1928/powertop.changes      
2026-01-08 15:27:21.780896898 +0100
@@ -1,0 +2,5 @@
+Wed Jan  7 15:53:49 UTC 2026 - Fridrich Strba <[email protected]>
+
+- Fix the package for immutable mode (jsc#PED-14688)
+
+-------------------------------------------------------------------

New:
----
  powertop.conf

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

Other differences:
------------------
++++++ powertop.spec ++++++
--- /var/tmp/diff_new_pack.ZeDeBY/_old  2026-01-08 15:27:22.316919488 +0100
+++ /var/tmp/diff_new_pack.ZeDeBY/_new  2026-01-08 15:27:22.316919488 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package powertop
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@
 URL:            https://01.org/powertop/
 Source0:        https://github.com/fenrus75/powertop/archive/v%{version}.tar.gz
 Source1:        powertop.service
+Source2:        powertop.conf
 # they repeatedly forget to upload a release tarball and only have the one from
 # GitHub which doesnt contain configure thus adding:
 # autoconf, autoconf-archive, automake, libtool
@@ -66,10 +67,9 @@
 
 %install
 %make_install
-install -Dd %{buildroot}%{_localstatedir}/cache/powertop
-touch 
%{buildroot}%{_localstatedir}/cache/powertop/{saved_parameters.powertop,saved_results.powertop}
 install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/powertop.service
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
+install -D -m 0644 %{SOURCE2} 
%{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.conf
 %find_lang %{name}
 
 %pre
@@ -77,9 +77,7 @@
 
 %post
 %service_add_post %{name}.service
-# Hack for powertop not to show warnings on first start
-touch %{_localstatedir}/cache/powertop/saved_parameters.powertop
-touch %{_localstatedir}/cache/powertop/saved_results.powertop
+%tmpfiles_create %{_prefix}/lib/tmpfiles.d/%{name}.conf
 
 %preun
 %service_del_preun %{name}.service
@@ -90,9 +88,7 @@
 %files
 %license COPYING
 %doc README.md
-%dir %{_localstatedir}/cache/powertop
-%ghost %{_localstatedir}/cache/powertop/saved_parameters.powertop
-%ghost %{_localstatedir}/cache/powertop/saved_results.powertop
+%{_prefix}/lib/tmpfiles.d/%{name}.conf
 %{_sbindir}/%{name}
 %{_mandir}/man8/powertop.8%{?ext_man}
 %{_unitdir}/%{name}.service

++++++ powertop.conf ++++++
#Type Path                                          Mode User Group Age Argument
d     /var/cache/powertop                           0755 -    -     -   -
f     /var/cache/powertop/saved_parameters.powertop 0644 -    -     -   -
f     /var/cache/powertop/saved_results.powertop    0644 -    -     -   -

Reply via email to