From b467a955d108e16985fe97de85101bd1664be889 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Tue, 16 Apr 2024 16:00:24 -0400 Subject: [PATCH] * Tue Apr 16 2024 Jean-Philippe Pialasse 11.0.0-8.sme - fix python error in dnf plugin [SME: 12631] --- .../usr/lib/python3.6/site-packages/dnf-plugins/smeserver.py | 4 ++-- smeserver-update.spec | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/root/usr/lib/python3.6/site-packages/dnf-plugins/smeserver.py b/root/usr/lib/python3.6/site-packages/dnf-plugins/smeserver.py index 366eac3..292650c 100644 --- a/root/usr/lib/python3.6/site-packages/dnf-plugins/smeserver.py +++ b/root/usr/lib/python3.6/site-packages/dnf-plugins/smeserver.py @@ -244,8 +244,8 @@ class SMEServer(dnf.Plugin): # if we are here this is a smeserver pkg without an update event, needs reboot... if (n.startswith('smeserver') or n.startswith('e-smith')) and not n.startswith('smeserver-locale'): smechange = True - smechangelist[n]=str(tsmem.installed) + " " + str(tsmem.pkg) - self.log("smechange set to True because of " + n + " without an update event " + str(tsmem.installed) + " " + str(tsmem.pkg) ) + smechangelist[n]=str(tsmem.pkg) + self.log("smechange set to True because of " + n + " without an update event " + str(tsmem.pkg) ) #end of if smeserver-*-update event exist # do we need this for removal ? if "/etc/e-smith/web/panels/manager/cgi-bin" in tsmem.files : diff --git a/smeserver-update.spec b/smeserver-update.spec index 0db3c10..f0a369c 100644 --- a/smeserver-update.spec +++ b/smeserver-update.spec @@ -2,7 +2,7 @@ Summary: Koozali SME Server rpm updater Name: %{name} %define version 11.0.0 -%define release 7 +%define release 8 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -68,6 +68,9 @@ mkdir -p root/etc/yum.smerepos.d %changelog +* Tue Apr 16 2024 Jean-Philippe Pialasse 11.0.0-8.sme +- fix python error in dnf plugin [SME: 12631] + * Mon Apr 08 2024 Jean-Philippe Pialasse 11.0.0-7.sme - fix python error in dnf plugin [SME: 12601] - fix server error in old manager [SME: 12602]