aboutsummaryrefslogtreecommitdiff
path: root/packaging/createpkg.py
diff options
context:
space:
mode:
authorJosh Soref <2119212+jsoref@users.noreply.github.com>2023-04-10 23:38:46 -0400
committerEli Schwartz <eschwartz93@gmail.com>2023-04-11 19:21:05 -0400
commitb5c1c93ea8ba14beb1bb28299dfb3c4a7e18244d (patch)
tree40796e980a3b3270383025630a0aacd5c84f8d5b /packaging/createpkg.py
parentcf9fd56bc905a2022ad48c93d25b5a73b57c8802 (diff)
downloadmeson-b5c1c93ea8ba14beb1bb28299dfb3c4a7e18244d.zip
meson-b5c1c93ea8ba14beb1bb28299dfb3c4a7e18244d.tar.gz
meson-b5c1c93ea8ba14beb1bb28299dfb3c4a7e18244d.tar.bz2
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>
Diffstat (limited to 'packaging/createpkg.py')
-rwxr-xr-xpackaging/createpkg.py2
1 files changed, 1 insertions, 1 deletions
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})