From 271297d4fa4a8e045b6dc04942966a1058bed45c Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 8 Sep 2020 13:19:48 +0300 Subject: Follow the rules when building for the App Store Apple does enforce that CFBundleVersion and CFBundleShortVersionString consist of three integers. So make sure that is the case when building for the App Store. (We infer that when using --enable-macosx-sandbox we are building for the App Store. So far that is true.) Change-Id: I677b28f65aa9be9466811a982023e0932dce0893 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102237 Tested-by: Jenkins Reviewed-by: Tor Lillqvist --- sysui/desktop/macosx/Info.plist.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysui/desktop/macosx') diff --git a/sysui/desktop/macosx/Info.plist.in b/sysui/desktop/macosx/Info.plist.in index d3051905058d..a87895078135 100644 --- a/sysui/desktop/macosx/Info.plist.in +++ b/sysui/desktop/macosx/Info.plist.in @@ -1921,9 +1921,9 @@ CFBundleIconFile main.icns CFBundleShortVersionString - @LIBO_VERSION_MAJOR@.@LIBO_VERSION_MINOR@.@LIBO_VERSION_MICRO@.@LIBO_VERSION_PATCH@ + @MACOSX_BUNDLE_SHORTVERSION@ CFBundleVersion - @LIBO_VERSION_MAJOR@.@LIBO_VERSION_MINOR@.@LIBO_VERSION_MICRO@.@LIBO_VERSION_PATCH@@LIBO_VERSION_SUFFIX@ + @MACOSX_BUNDLE_VERSION@ CFBundleIdentifier @MACOSX_BUNDLE_IDENTIFIER@ CFBundleInfoDictionaryVersion -- cgit