Disable tests for i686 architecture

This commit is contained in:
Eduard Abdullin 2026-02-10 13:47:15 +00:00 committed by root
parent 5ad3eeb7c9
commit e3fc78dd88

View File

@ -39,7 +39,9 @@ BuildRequires: pkgconfig(libsystemd)
%global examples 1
## skip for now, until we're better at it --rex
#global tests 0
%ifnarch i686
%global build_tests 1
%endif
#global unstable 0
%global prerelease rc2
@ -47,7 +49,7 @@ BuildRequires: pkgconfig(libsystemd)
Name: qt6-qtbase
Summary: Qt6 - QtBase components
Version: 6.10.1
Release: 1%{?dist}
Release: 1%{?dist}.alma.1
License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
Url: http://qt-project.org/
@ -528,9 +530,11 @@ rm -r %{buildroot}%{_qt6_libdir}/cmake/Qt6/3rdparty/extra-cmake-modules/*.patch
# This is only for Apple platforms and has a python2 dep
rm -r %{buildroot}%{_qt6_mkspecsdir}/features/uikit
%if 0%{?build_tests}
# Remove tests with space in its name, which seem to break debuginfo extraction
rm -r %{buildroot}%{_qt6_archdatadir}/tests/corelib/io/qprocess/testProcessSpacesArgs/*
rm -r "%{buildroot}%{_qt6_archdatadir}/tests/corelib/io/qprocess/test Space In Name/testSpaceInName"
%endif
%check
# verify Qt6.pc
@ -984,6 +988,9 @@ make check -k ||:
%endif
%changelog
* Tue Feb 10 2026 Eduard Abdullin <eabdullin@almalinux.org> - 6.10.1-1.alma.1
- Disable tests for i686 architecture
* Mon Nov 24 2025 Jan Grulich <jgrulich@redhat.com> - 6.10.1-1
- 6.10.1
Resolves: RHEL-109197