From 8c00907461260bb70828ef914ee17e13247c4961 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Fri, 12 Aug 2022 11:57:52 +0200 Subject: [PATCH] stages/rpm.macros: new-line terminate values Needed if we want to specify multiple values and even for the single value use case this is the right thing to do. --- stages/org.osbuild.rpm.macros | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stages/org.osbuild.rpm.macros b/stages/org.osbuild.rpm.macros index a60946f8..63df84fd 100755 --- a/stages/org.osbuild.rpm.macros +++ b/stages/org.osbuild.rpm.macros @@ -60,7 +60,7 @@ def main(tree, options): with open(path, "w", encoding="utf-8") as f: for k, v in options["macros"].items(): value = make_value(k, v) - line = f"%{k} {value}" + line = f"%{k} {value}\n" f.write(line)