osbuild-mpp: Set the "arch" variable to the current rpm arch

This commit is contained in:
Alexander Larsson 2021-10-20 15:57:12 +02:00 committed by Christian Kellner
parent 1425f66449
commit 611b6846e8

View file

@ -175,6 +175,7 @@ import tempfile
import urllib.parse
from typing import Dict, Optional
import rpm
import dnf
import hawkey
@ -941,6 +942,7 @@ def main():
args = parser.parse_args(sys.argv[1:])
defaults = {
"arch": rpm.expandMacro("%{_arch}")
}
# Override variables from the main of imported files