Re-enable tests

Resolves: RHEL-53982
This commit is contained in:
Jan Grulich 2024-12-10 11:15:10 +01:00
parent 218fe399ad
commit 7450ea0234

View File

@ -8,12 +8,12 @@
%global examples 1
# FIXME: needs bootstrap
#global build_tests 1
%global build_tests 1
Summary: Qt6 - SerialBus component
Name: qt6-%{qt_module}
Version: 6.8.1
Release: 1%{?dist}
Release: 2%{?dist}
License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
Url: http://www.qt.io
@ -90,6 +90,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%qt6_dont_autoinstall_tests
%endif
%if 0%{?build_tests}
# FIXME: avoid SBOM for test plugins
sed -i -e 's@.*qt_sbom/SPDXRef-Package-qtserialbus-qt-plugin-TestCanBusPlugin.cmake")@@' \
-e 's@.*qt_sbom/SPDXRef-PackagedFile-qt-plugin-TestCanBusPlugin.cmake")@@' \
%_vpath_srcdir/%_vpath_builddir/qt_sbom/assemble_sbom.cmake
%endif
%cmake_install
%if 0%{?build_tests}
@ -128,6 +135,10 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%endif
%changelog
* Tue Dec 10 2024 Jan Grulich <jgrulich@redhat.com> - 6.8.1-2
- Re-enable tests
Resolves: RHEL-53982
* Fri Dec 06 2024 Jan Grulich <jgrulich@redhat.com> - 6.8.1-1
- 6.8.1
Resolves: RHEL-53982