The package rpms/wlroots.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/wlroots.git/commit/?id=d9f0c321d1....
Change:
+%ifarch s390x
Thanks.
Full change:
============
commit d9f0c321d1881cf99da0243b06eeeb450e95768e
Author: Jan Stank <jstanek(a)redhat.com>
Date: Tue Feb 4 16:25:47 2020 +0100
Disable -Werror compilation flag on s390x
Upstream issue:
https://github.com/swaywm/wlroots/issues/2018
diff --git a/wlroots.spec b/wlroots.spec
index d658abc..32fecfa 100644
--- a/wlroots.spec
+++ b/wlroots.spec
@@ -3,7 +3,7 @@
Name: wlroots
Version: 0.10.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A modular Wayland compositor library
# Source files/overall project licensed as MIT, but
@@ -75,8 +75,18 @@ Development files for %{name}.
%build
-# Disable options requiring extra/unpackaged dependencies
-%{meson} -Dexamples=false -Dxcb-errors=disabled
+MESON_OPTIONS=(
+ # Disable options requiring extra/unpackaged dependencies
+ -Dexamples=false
+ -Dxcb-errors=disabled
+
+%ifarch s390x
+ # Disable -Werror on s390x:
https://github.com/swaywm/wlroots/issues/2018
+ -Dwerror=false
+%endif
+)
+
+%{meson} "${MESON_OPTIONS[@]}"
%{meson_build}
@@ -109,6 +119,10 @@ install -pm0644 -D '%{SOURCE1}'
'%{buildroot}/%{_pkgdocdir}/examples/meson.build
%changelog
+* Tue Feb 04 2020 Jan Stank <jstanek(a)redhat.com> - 0.10.0-3
+- Disable -Werror compilation flag on s390x
+ (
https://github.com/swaywm/wlroots/issues/2018)
+
* Wed Jan 29 2020 Jan Stank <jstanek(a)redhat.com> - 0.10.0-2
- Backport fix for compilation with GCC 10