Hello community, here is the log from the commit of package ibus-table for openSUSE:Leap:15.2 checked in at 2020-02-27 06:42:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/ibus-table (Old) and /work/SRC/openSUSE:Leap:15.2/.ibus-table.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ibus-table" Thu Feb 27 06:42:29 2020 rev:18 rq:779707 version:1.9.21 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/ibus-table/ibus-table.changes 2020-01-15 15:11:51.386121576 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.ibus-table.new.26092/ibus-table.changes 2020-02-27 06:42:30.937736112 +0100 @@ -1,0 +2,6 @@ +Wed Feb 19 12:08:01 UTC 2020 - Cliff Zhao <qz...@suse.com> + +- Add ibus-table_fix_other_tables_compile_error.patch: Fix ibus + other tables compile errors(bnc#1160315). + +------------------------------------------------------------------- New: ---- ibus-table_fix_other_tables_compile_error.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ibus-table.spec ++++++ --- /var/tmp/diff_new_pack.EiPVaM/_old 2020-02-27 06:42:31.305736879 +0100 +++ /var/tmp/diff_new_pack.EiPVaM/_new 2020-02-27 06:42:31.305736879 +0100 @@ -1,7 +1,7 @@ # # spec file for package ibus-table # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,8 +22,10 @@ Summary: The Table engine for IBus platform License: LGPL-2.1-or-later Group: System/I18n/Chinese -Url: https://github.com/mike-fabian/ibus-table/ +URL: https://github.com/mike-fabian/ibus-table/ Source: https://github.com/mike-fabian/ibus-table/releases/download/%{version}/%{name}-%{version}.tar.gz +# PATCH-FIX-OPENSUSE ibus-table_fix_other_tables_compile_error.patch bnc#1160315 qz...@suse.com -- Fix ibus other tables compile error. +Patch0: ibus-table_fix_other_tables_compile_error.patch BuildRequires: docbook-utils-minimal BuildRequires: fdupes BuildRequires: gettext-tools @@ -49,6 +51,7 @@ %prep %setup -q +%patch0 -p1 chmod -x AUTHORS COPYING README %build ++++++ ibus-table_fix_other_tables_compile_error.patch ++++++ diff -Nura ibus-table-1.9.21/engine/ibus_table_location.py ibus-table-1.9.21_new/engine/ibus_table_location.py --- ibus-table-1.9.21/engine/ibus_table_location.py 2018-08-28 22:36:37.000000000 +0800 +++ ibus-table-1.9.21_new/engine/ibus_table_location.py 2020-02-19 22:12:51.972000000 +0800 @@ -73,7 +73,7 @@ IBUS_TABLE_LOCATION['data_home'] = os.path.join( IBUS_TABLE_LOCATION['data_home'], 'ibus-table') if not os.access(IBUS_TABLE_LOCATION['data_home'], os.F_OK): - os.makedirs(IBUS_TABLE_LOCATION['data_home']) + os.makedirs(IBUS_TABLE_LOCATION['data_home'], exist_ok=True) # $XDG_CACHE_HOME defines the base directory relative to which user # specific non-essential data files should be stored. If @@ -89,7 +89,7 @@ IBUS_TABLE_LOCATION['cache_home'] = os.path.join( IBUS_TABLE_LOCATION['cache_home'], 'ibus-table') if not os.access(IBUS_TABLE_LOCATION['cache_home'], os.F_OK): - os.makedirs(IBUS_TABLE_LOCATION['cache_home']) + os.makedirs(IBUS_TABLE_LOCATION['cache_home'], exist_ok=True) class __ModuleInitializer: def __init__(self):