From b5c1c93ea8ba14beb1bb28299dfb3c4a7e18244d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 10 Apr 2023 23:38:46 -0400 Subject: packaging: fix options hostArchitectures attribute This is used by the meson.pkg but is an optional attribute: https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html#//apple_ref/doc/uid/TP40005370-CH100-SW41 Found by https://www.check-spelling.dev/ Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- packaging/createpkg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/createpkg.py b/packaging/createpkg.py index 7f3a69e..3c56514 100755 --- a/packaging/createpkg.py +++ b/packaging/createpkg.py @@ -85,7 +85,7 @@ class PkgGenerator: ET.SubElement(root, 'pkg-ref', {'id': self.identifier}) ET.SubElement(root, 'options', {'customize': 'never', 'require-scripts': 'false', - 'hostArhcitectures': 'x86_64,arm64'}) + 'hostArchitectures': 'x86_64,arm64'}) choices_outline = ET.SubElement(root, 'choices-outline') line = ET.SubElement(choices_outline, 'line', {'choice': 'default'}) ET.SubElement(line, 'line', {'choice': self.identifier}) -- cgit v1.1