diff --git a/qt6-qtquick3d.spec b/qt6-qtquick3d.spec index 95c6cf0..f99bc20 100644 --- a/qt6-qtquick3d.spec +++ b/qt6-qtquick3d.spec @@ -36,12 +36,13 @@ Requires: qt6-qtdeclarative-devel%{?_isa} %description devel %{summary}. +%ifnarch s390x %package examples Summary: Programming examples for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description examples %{summary}. - +%endif %prep %autosetup -n %{qt_module}-everywhere-src-%{version} -p1 @@ -54,7 +55,10 @@ Requires: %{name}%{?_isa} = %{version}-%{release} # Disable LTO %define _lto_cflags %{nil} -%cmake_qt6 +%cmake_qt6 \ +%ifarch s390x + -DQT_BUILD_EXAMPLES=OFF +%endif # -DQT_FEATURE_system_assimp=ON %cmake_build @@ -139,12 +143,12 @@ popd %{_qt6_libdir}/libQt6Quick3DUtils.so %{_qt6_libdir}/metatypes/qt6*_metatypes.json - +%ifnarch s390x %if 0%{?_qt6_examplesdir:1} %files examples %{_qt6_examplesdir}/ %endif - +%endif %changelog * Thu Jan 14 2021 Jan Grulich - 6.0.0-1