From f4c80a46011dc41227193fd723747ba0c9d7f74f Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 15 Nov 2022 02:02:36 -0500 Subject: [PATCH] import tuna-0.18-2.el9 --- .gitignore | 2 +- .tuna.metadata | 2 +- SOURCES/tuna-Fix-ModuleNotFoundError.patch | 35 ---------------------- SPECS/tuna.spec | 23 ++++++++++++-- 4 files changed, 22 insertions(+), 40 deletions(-) delete mode 100644 SOURCES/tuna-Fix-ModuleNotFoundError.patch diff --git a/.gitignore b/.gitignore index 99fe941..3978794 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/tuna-0.17.tar.xz +SOURCES/tuna-0.18.tar.xz diff --git a/.tuna.metadata b/.tuna.metadata index 88e8cd7..dd406c0 100644 --- a/.tuna.metadata +++ b/.tuna.metadata @@ -1 +1 @@ -9bde1e92e09277efcb13ee5808baa1632ae815cb SOURCES/tuna-0.17.tar.xz +70666ad7164e0b80d63c11afc9888af273966896 SOURCES/tuna-0.18.tar.xz diff --git a/SOURCES/tuna-Fix-ModuleNotFoundError.patch b/SOURCES/tuna-Fix-ModuleNotFoundError.patch deleted file mode 100644 index 7b5cc20..0000000 --- a/SOURCES/tuna-Fix-ModuleNotFoundError.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 7684169d22af5379d2f466730c450afc92e80da8 Mon Sep 17 00:00:00 2001 -From: John Kacur -Date: Tue, 11 Jan 2022 16:58:58 -0500 -Subject: [PATCH] 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 ---- - tuna/tuna.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/tuna/tuna.py b/tuna/tuna.py -index 98a1725598dd..8fb42121e2e4 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 --- -2.27.0 - diff --git a/SPECS/tuna.spec b/SPECS/tuna.spec index 061a2f7..d885bf6 100644 --- a/SPECS/tuna.spec +++ b/SPECS/tuna.spec @@ -1,5 +1,5 @@ Name: tuna -Version: 0.17 +Version: 0.18 Release: 2%{?dist} License: GPLv2 Summary: Application tuning GUI & command line utility @@ -14,7 +14,6 @@ Requires: python3-linux-procfs >= 0.6 # Requires: python-inet_diag # Patches -Patch1: tuna-Fix-ModuleNotFoundError.patch %description Provides interface for changing scheduler and IRQ tunables, at whole CPU and at @@ -27,7 +26,6 @@ installed. %prep %setup -q -%patch1 -p1 %build %py3_build @@ -69,6 +67,25 @@ done %{_datadir}/polkit-1/actions/org.tuna.policy %changelog +* Wed Jun 29 2022 Leah Leshchinsky - 0.18-2 +- Delete patches +Resolves: rhbz#2068629 + +* Wed Jun 29 2022 Leah Leshchinsky - 0.18-1 +- Update to latest upstream tuna-0.18 +Resolves: rhbz#2068629 + +* Wed May 11 2022 Leah Leshchinsky - 0.17-4 +- Add logging infrastructure to tuna cmd +- Add cleanlogs rule to Makefile +Resolves: rhbz#2062881 + +* Mon Apr 11 2022 Leah Leshchinsky - 0.17-3 +- Fix typo for variable parm +- Handle get_policy_and_rtprio exceptions +- Remove finally block in get_policy_and_rtprio +Resolves: rhbz#2049303 + * Thu Jan 13 2022 Leah Leshchinsky - 0.17-2 - Fix ModuleNotFoundError Resolves: rhbz#2012307