#4 Bump to 0.17 version
Merged 2 years ago by jkastner. Opened 2 years ago by fedepell.
rpms/ fedepell/tuna tuna-0.17  into  rawhide

file modified
+1
@@ -5,3 +5,4 @@ 

  /tuna-0.14.tar.xz

  /tuna-0.14.1.tar.xz

  /tuna-0.16.tar.xz

+ /tuna-0.17.tar.xz

@@ -0,0 +1,35 @@ 

+ From 7684169d22af5379d2f466730c450afc92e80da8 Mon Sep 17 00:00:00 2001

+ From: John Kacur <jkacur@redhat.com>

+ Date: Tue, 11 Jan 2022 16:58:58 -0500

+ Subject: tuna: Fix ModuleNotFoundError

+ 

+ commit 43b434867514934593ada5aa8ea448ef6a1778f9 fixed the problem with

+ relative imports but unfortunately created a new problem with installed

+ tuna

+ 

+ This fixes the original problem and also fixes the ModuleNotFoundError

+ in an installed (not running from git) version of tuna.

+ 

+ Signed-off-by: John Kacur <jkacur@redhat.com>

+ ---

+  tuna/tuna.py | 4 ++--

+  1 file changed, 2 insertions(+), 2 deletions(-)

+ 

+ diff --git a/tuna/tuna.py b/tuna/tuna.py

+ index 98a1725..8fb4212 100755

+ --- a/tuna/tuna.py

+ +++ b/tuna/tuna.py

+ @@ -12,8 +12,8 @@ import platform

+  import ethtool

+  import procfs

+  from procfs import utilist

+ -import help

+ -import tuna_sched

+ +from tuna import help

+ +from tuna import tuna_sched

+  

+  try:

+      fntable

+ -- 

+ cgit 1.2.3-1.el7

+ 

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (tuna-0.16.tar.xz) = 47f3a37acf71d20f948577f63b292d7f5ccc4d9951f4290064b4b2ddf4b61ccff228dfadb661f227fd212b76105b65f76fecedf9933c694b011f1c831b6d507f

+ SHA512 (tuna-0.17.tar.xz) = e04bb56415e702e888d7022342e34bdff19fe978e13793e737613baf48eadcd1b926d414ec8ba5205c9bea4622bf44b9b12e1fe33e1a89b467bd84e17c4643c4

file modified
+6 -1
@@ -1,9 +1,10 @@ 

  Name: tuna

- Version: 0.16

+ Version: 0.17

  Release: 1%{?dist}

  License: GPLv2

  Summary: Application tuning GUI & command line utility

  Source: https://www.kernel.org/pub/software/utils/%{name}/%{name}-%{version}.tar.xz

+ Patch0: fix-ModuleNotFoundError.patch

  URL: https://rt.wiki.kernel.org/index.php/Tuna

  BuildArch: noarch

  BuildRequires: python3-devel, gettext
@@ -40,6 +41,7 @@ 

  

  %prep

  %setup -q

+ %patch0 -p1

  

  %build

  %py3_build
@@ -88,6 +90,9 @@ 

  %doc docs/oscilloscope+tuna.pdf

  

  %changelog

+ * Tue Jan 11 2022 Federico Pellegrin <fede@evolware.org> - 0.17-1

+ - update to 0.17 (various fixes and cleanups)

+ 

  * Fri Aug 20 2021 Federico Pellegrin <fede@evolware.org> - 0.16-1

  - update to 0.16 (contains Gtk3 support)

  

From package maintainer's annoucement:

A few highlights.
- more flexible way to specify scheduling policy, fifo, sched_fifo, etc
- fix to display correct cpu affinity when cpus are offlined
- warning if unable to move a pid during isolate that would otherwise be
legal
- many small fixes and clean-ups

1 new commit added

  • Add execution patch for installed fix as per upstream
2 years ago

Pull-Request has been merged by jkastner

2 years ago

@jkastner : thanks for the merge :) Please when possible could you add the sources so the rebuild doesn't fail? (as far as I understood I'm not allowed to do that) Thanks!