diff --git a/wxGTK3.spec b/wxGTK3.spec index 19d6e1f..0fdb5ab 100644 --- a/wxGTK3.spec +++ b/wxGTK3.spec @@ -18,7 +18,7 @@ Name: %{wxgtkname} Version: 3.0.4 -Release: 10%{?snapshottag}%{?dist} +Release: 10%{?snapshottag}%{?dist}.1 Summary: GTK port of the wxWidgets GUI library License: wxWidgets URL: https://www.wxwidgets.org/ @@ -43,7 +43,9 @@ Patch3: fix-glcanvas-crash-wayland.patch BuildRequires: gcc-c++ BuildRequires: gtk2-devel BuildRequires: gtk3-devel +%ifnarch aarch64 s390x BuildRequires: webkit2gtk3-devel +%endif BuildRequires: zlib-devel BuildRequires: libpng-devel BuildRequires: libjpeg-devel @@ -104,7 +106,9 @@ Summary: Development files for the wxGTK3 library Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}-gl = %{version}-%{release} Requires: %{name}-media = %{version}-%{release} +%ifnarch aarch64 s390x Requires: %{name}-webview = %{version}-%{release} +%endif Requires: %{wxbasename} = %{version}-%{release} Requires: %{wxbasename}-devel%{?_isa} = %{version}-%{release} Requires: gtk3-devel @@ -198,6 +202,7 @@ comprehensive set of helper classes for most common application tasks, ranging from networking to HTML display and image manipulation. +%ifnarch aarch64 s390x %package webview Summary: WebView add-on for the wxWidgets library Requires: %{name}%{?_isa} = %{version}-%{release} @@ -208,6 +213,7 @@ wxWidgets is the GTK port of the C++ cross-platform wxWidgets GUI library, offering classes for all common GUI controls as well as a comprehensive set of helper classes for most common application tasks, ranging from networking to HTML display and image manipulation. +%endif %package -n %{wxbasename} @@ -425,10 +431,12 @@ fi %files -n %{wxgtk2name}-media %{_libdir}/libwx_gtk2u_media-*.so.* +%ifnarch aarch64 s390x %files webview %{_libdir}/libwx_gtk3u_webview-*.so.* %dir %{_libdir}/wx %{_libdir}/wx/3.0 +%endif %files -n %{wxbasename} %doc docs/changes.txt docs/gpl.txt docs/lgpl.txt docs/licence.txt @@ -441,6 +449,9 @@ fi %doc html %changelog +* Sat Aug 17 2019 Scott Talbert - 3.0.4-10.1 +- Avoid building webview on aarch64 and s390x on epel8 + * Sat Jul 27 2019 Fedora Release Engineering - 3.0.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild