From d6ce9c907d377ecdc2c3132dace884089a1e1292 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Thu, 19 Mar 2020 08:19:32 -0700 Subject: [PATCH] ltmpl: Fix package logging format epoch wasn't included in the lorax-packages.log, but arch is. And for the debuginfo the epoch, including 0, *is* included. This should match the previous output. Resolves: rhbz#1815000 --- src/pylorax/ltmpl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylorax/ltmpl.py b/src/pylorax/ltmpl.py index d8286784..f78d32ea 100644 --- a/src/pylorax/ltmpl.py +++ b/src/pylorax/ltmpl.py @@ -260,7 +260,7 @@ class LoraxTemplateRunner(TemplateRunner): pkgs = [] debug_pkgs = [] for p in list(self.dbo.transaction.install_set): - pkgs.append(f"{p.name}-{p.epoch}:{p.version}-{p.release}") + pkgs.append(f"{p.name}-{p.version}-{p.release}.{p.arch}") if available.filter(name=p.name+"-debuginfo"): debug_pkgs.append(f"{p.name}-debuginfo-{p.epoch}:{p.version}-{p.release}")