public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/powertop] rawhide: New version
Date: Tue, 18 Aug 2026 14:02:33 GMT	[thread overview]
Message-ID: <178706175362.1.16837880318314530773.rpms-powertop-e4a80ffa78fe@fedoraproject.org> (raw)

          A new commit has been pushed.

          Repo   : rpms/powertop
          Branch : rawhide
          Commit : e4a80ffa78fea0188cecf7ade3dfcfbfba151f12
          Author : Jaroslav Škarvada <jskarvad@redhat.com>
          Date   : 2026-08-18T16:02:25+02:00
          Stats  : +7/-40 in 3 file(s)
          URL    : https://src.fedoraproject.org/rpms/powertop/c/e4a80ffa78fea0188cecf7ade3dfcfbfba151f12?branch=rawhide

          Log:
          New version

Resolves: rhbz#2513571

---
diff --git a/powertop-2.7-always-create-params.patch b/powertop-2.7-always-create-params.patch
deleted file mode 100644
index 87ddf7d..0000000
--- a/powertop-2.7-always-create-params.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff --git a/src/parameters/persistent.cpp b/src/parameters/persistent.cpp
-index 9a5688a..6a232cd 100644
---- a/src/parameters/persistent.cpp
-+++ b/src/parameters/persistent.cpp
-@@ -145,9 +145,6 @@ void save_parameters(const char *filename)
- 
- //	printf("result size is %i, #parameters is %i \n", (int)past_results.size(), (int)all_parameters.parameters.size());
- 
--	if (!global_power_valid())
--		return;
--
- 	pathname = get_param_directory(filename);
- 
- 	file.open(pathname, ios::out);
-@@ -156,12 +153,15 @@ void save_parameters(const char *filename)
- 		return;
- 	}
- 
--	map<string, int>::iterator it;
-+	if (global_power_valid())
-+	{
-+		map<string, int>::iterator it;
- 
--	for (it = param_index.begin(); it != param_index.end(); it++) {
--		int index;
--		index = it->second;
--		file << it->first << "\t" << setprecision(9) << all_parameters.parameters[index] << "\n";
-+		for (it = param_index.begin(); it != param_index.end(); it++) {
-+			int index;
-+			index = it->second;
-+			file << it->first << "\t" << setprecision(9) << all_parameters.parameters[index] << "\n";
-+		}
- 	}
- 	file.close();
- }

diff --git a/powertop.spec b/powertop.spec
index 34e32e5..d735174 100644
--- a/powertop.spec
+++ b/powertop.spec
@@ -1,6 +1,6 @@
 Name:             powertop
-Version:          2.15
-Release:          13%{?dist}
+Version:          2.16
+Release:          1%{?dist}
 Summary:          Power consumption monitor
 
 License:          gpl-2.0-only AND lgpl-2.1-only AND isc
@@ -8,8 +8,6 @@ URL:              http://01.org/powertop/
 Source0:          http://github.com/fenrus75/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
 Source1:          powertop.service
 
-# Sent upstream
-Patch0:           powertop-2.7-always-create-params.patch
 BuildRequires:    make
 BuildRequires:    gettext-devel
 BuildRequires:    ncurses-devel
@@ -79,6 +77,10 @@ touch %{_localstatedir}/cache/powertop/{saved_parameters.powertop,saved_results.
 %{_datadir}/bash-completion/completions/powertop
 
 %changelog
+* Tue Aug 18 2026 Jaroslav Škarvada <jskarvad@redhat.com> - 2.16-1
+- New version
+  Resolves: rhbz#2513571
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.15-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index f177556..9ba9dde 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (powertop-2.15.tar.gz) = de4ca3ea25697d2cd5f05c41c82c326ad3e2d21cbf38ddb9b3af40c0d862a70781ca45d9ef7b735ad6def0cb580e4fa153eb4a6e6598e204fc931b30d85ecf41
+SHA512 (powertop-2.16.tar.gz) = f15ef2ce64a89fc8189277e81b1ff9800eb93f86094df8a06532193714d01596c9e6ffccdecb20e3f434372df4a0da3b9a50f315042facd08b8d13dca8f1ea44

                 reply	other threads:[~2026-08-18 14:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178706175362.1.16837880318314530773.rpms-powertop-e4a80ffa78fe@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox