From 2faac019ffc6ca2e83ea6d51ac668555bd15d23d728a003df5c7d6863398715a Mon Sep 17 00:00:00 2001 From: Christophe Marin Date: Thu, 11 Jan 2024 08:22:36 +0000 Subject: [PATCH] Accepting request 1137981 from home:alarrosa:branches:KDE:Qt6 - Fix build in SLE15 SP6 by using clang17-devel OBS-URL: https://build.opensuse.org/request/show/1137981 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/qt6-tools?expand=0&rev=58 --- qt6-tools.changes | 5 +++++ qt6-tools.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/qt6-tools.changes b/qt6-tools.changes index 7540eb9..ec9e626 100644 --- a/qt6-tools.changes +++ b/qt6-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 10 18:47:55 UTC 2024 - Antonio Larrosa + +- Fix build in SLE15 SP6 by using clang17-devel + ------------------------------------------------------------------- Mon Nov 27 14:00:20 UTC 2023 - Christophe Marin diff --git a/qt6-tools.spec b/qt6-tools.spec index ff505fc..f6bfaef 100644 --- a/qt6-tools.spec +++ b/qt6-tools.spec @@ -1,7 +1,7 @@ # # spec file for package qt6-tools # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -47,11 +47,15 @@ Source13: org.qt.assistant6.desktop Source14: linguist6.png Source99: qt6-tools-rpmlintrc # clang-devel in Leap 15 points to clang7... +%if 0%{?suse_version} == 1500 && 0%{?sle_version} >= 150600 +BuildRequires: clang17-devel +%else %if 0%{?suse_version} == 1500 && 0%{?sle_version} >= 150400 BuildRequires: clang15-devel %else BuildRequires: clang-devel >= 8 %endif +%endif BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig BuildRequires: qt6-core-private-devel