The package rpms/kyotocabinet.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/kyotocabinet.git/commit/?id=5b2a2....
Change:
+%ifarch s390x
Thanks.
Full change:
============
commit 5b2a28cd66f0352bbe7d78ef9dbff68b19e6fb3d
Author: Parag Nemade <pnemade(a)fedoraproject.org>
Date: Wed Feb 27 17:48:45 2019 +0530
Fix s390x compilation issue by changing -O2 to -O1 (rh#1675243)
diff --git a/kyotocabinet.spec b/kyotocabinet.spec
index 3fbee86..9adeb89 100644
--- a/kyotocabinet.spec
+++ b/kyotocabinet.spec
@@ -1,7 +1,7 @@
Summary: A straightforward implementation of DBM
Name: kyotocabinet
Version: 1.2.76
-Release: 19%{?dist}
+Release: 20%{?dist}
License: GPLv3
URL:
http://fallabs.com/%{name}/
Source:
http://fallabs.com/%{name}/pkg/%{name}-%{version}.tar.gz
@@ -55,6 +55,12 @@ applications that use Kyoto Cabinet.
%patch2 -p1 -b .gcc6
%build
+%ifarch s390x
+RPM_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | sed -e 's/-O2 /-O1 /g')
+%endif
+export CFLAGS=$RPM_OPT_FLAGS
+
+
%configure --disable-opt --enable-lzo --enable-lzma
make %{?_smp_mflags}
@@ -142,6 +148,9 @@ make check
%doc COPYING doc/api/* kyotocabinet.idl
%changelog
+* Wed Feb 27 2019 Parag Nemade <pnemade AT redhat DOT com> - 1.2.76-20
+- Fix s390x compilation issue by changing -O2 to -O1 (rh#1675243)
+
* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.2.76-19
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild