From 8b3942f123c46fb2a0f1cb0512c13ba736e1ce0ddc104d00c182d374303bd81b Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Thu, 25 Aug 2022 13:34:03 +0000 Subject: [PATCH] - fixed build on Leap 15.3 by buildrequiring clang13/llvm13 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=48 --- libclc.changes | 5 +++++ libclc.spec | 11 ++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/libclc.changes b/libclc.changes index 372c20f..eac800e 100644 --- a/libclc.changes +++ b/libclc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 25 13:33:10 UTC 2022 - Stefan Dirsch + +- fixed build on Leap 15.3 by buildrequiring clang13/llvm13 + ------------------------------------------------------------------- Fri Apr 1 21:44:03 UTC 2022 - Aaron Puchert diff --git a/libclc.spec b/libclc.spec index a2690f5..41c1c6c 100644 --- a/libclc.spec +++ b/libclc.spec @@ -34,13 +34,18 @@ BuildRequires: cmake BuildRequires: clang-devel BuildRequires: llvm-devel %else -%if 0%{?sle_version} >= 150300 + %if 0%{?sle_version} >= 150400 +BuildRequires: clang13-devel +BuildRequires: llvm13-devel + %else + %if 0%{?sle_version} >= 150300 BuildRequires: clang11-devel BuildRequires: llvm11-devel -%else + %else BuildRequires: clang9-devel BuildRequires: llvm9-devel -%endif + %endif + %endif %endif BuildRequires: python3-base Provides: libclc(llvm%{_llvm_sonum})