The package rpms/mozc.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/mozc.git/commit/?id=9f8b15e23bfbb....
Change:
+ExcludeArch: ppc ppc64 sparcv9 sparc64 s390x
Thanks.
Full change:
============
commit 9f8b15e23bfbb70210abb73232bd38a0b1db268d
Author: Akira TAGOH <tagoh(a)redhat.com>
Date: Mon Jun 19 14:17:03 2017 +0900
Add s390x to ExcludeArch.
diff --git a/mozc-fix-array-subscripts.patch b/mozc-fix-array-subscripts.patch
deleted file mode 100644
index ea1ffa4..0000000
--- a/mozc-fix-array-subscripts.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -pruN mozc-2.20.2677.102.orig/dictionary/system/key_expansion_table.h
mozc-2.20.2677.102/dictionary/system/key_expansion_table.h
---- mozc-2.20.2677.102.orig/dictionary/system/key_expansion_table.h 2016-06-03
21:54:22.000000000 +0900
-+++ mozc-2.20.2677.102/dictionary/system/key_expansion_table.h 2017-06-19
13:16:46.549759912 +0900
-@@ -80,7 +80,7 @@ class KeyExpansionTable {
- }
-
- const ExpandedKey ExpandKey(char key) const {
-- return ExpandedKey(table_[key]);
-+ return ExpandedKey(table_[(int)key]);
- }
-
- // Returns the default (no-effective) KeyExpansionTable instance.
-@@ -93,7 +93,7 @@ class KeyExpansionTable {
- private:
- // Set a bit corresponding (key -> value) to '1'.
- void SetBit(char key, char value) {
-- table_[key][value / 32] |= (1 << (value % 32));
-+ table_[(int)key][value / 32] |= (1 << (value % 32));
- }
-
- // 256x256 (key -> value) bit map matrix.
diff --git a/mozc.spec b/mozc.spec
index d59a866..7102168 100644
--- a/mozc.spec
+++ b/mozc.spec
@@ -48,7 +48,6 @@ Patch0: mozc-build-ninja.patch
Patch1: mozc-build-gcc.patch
Patch2: mozc-build-verbosely.patch
Patch3: mozc-build-id.patch
-Patch4: mozc-fix-array-subscripts.patch
BuildRequires: python gettext
BuildRequires: libstdc++-devel zlib-devel libxcb-devel protobuf-devel protobuf-c
glib2-devel qt5-devel zinnia-devel gtk2-devel
@@ -58,7 +57,7 @@ BuildRequires: ibus-devel >= 1.5.4
BuildRequires: emacs
BuildRequires: xemacs xemacs-packages-extra
#
https://bugzilla.redhat.com/show_bug.cgi?id=1419949
-ExcludeArch: ppc ppc64 sparcv9 sparc64
+ExcludeArch: ppc ppc64 sparcv9 sparc64 s390x
Requires: zinnia-tomoe-ja
Requires: emacs-filesystem >= %{_emacs_version}
@@ -93,7 +92,6 @@ This package contains the Input Method Engine for IBus.
#%%patch1 -p1 -b .1-gcc
%patch2 -p1 -b .2-verbose
%patch3 -p1 -b .3-build-id
-%patch4 -p1 -b .4-array-subscripts
(cd data/dictionary_oss;
PYTHONPATH="${PYTHONPATH}:../.." python ../../dictionary/gen_zip_code_seed.py
--zip_code=../../KEN_ALL.CSV --jigyosyo=../../JIGYOSYO.CSV >> dictionary09.txt;
)
@@ -222,7 +220,7 @@ EOF
%changelog
* Mon Jun 19 2017 Akira TAGOH <tagoh(a)redhat.com> - 2.20.2677.102-3
-- Fix the array subscripts issue.
+- Add s390x to ExcludeArch.
* Tue Jun 13 2017 Orion Poplawski <orion(a)cora.nwra.com> - 2.20.2677.102-2
- Rebuild for protobuf 3.3.1