SHA256
1
0
forked from pool/libclc

- fixed broken %{_llvm_sonum} in libcl(llvm%{_llvm_sonum}) Provides

by buildrequiring appropriate llvm/clang -devel packages

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=39
This commit is contained in:
Stefan Dirsch 2021-09-29 12:58:22 +00:00 committed by Git OBS Bridge
parent 8cd3a1736b
commit 47301eaea4
2 changed files with 18 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Sep 29 12:44:19 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- fixed broken %{_llvm_sonum} in libcl(llvm%{_llvm_sonum}) Provides
by buildrequiring appropriate llvm/clang -devel packages
-------------------------------------------------------------------
Wed Sep 29 12:00:22 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -27,9 +27,19 @@ Group: Development/Libraries/C and C++
URL: https://libclc.llvm.org/
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{_libclc_llvm_ver}/%{name}-%{_libclc_llvm_ver}.src.tar.xz
Source1: %{name}-rpmlintrc
BuildRequires: clang-devel >= 4.0
BuildRequires: cmake
BuildRequires: llvm >= 4.0
%if 0%{?suse_version} >= 1550
BuildRequires: clang-devel
BuildRequires: llvm-devel
%else
%if 0%{?sle_version} >= 150300
BuildRequires: clang11-devel
BuildRequires: llvm11-devel
%else
BuildRequires: clang9-devel
BuildRequires: llvm9-devel
%endif
%endif
BuildRequires: python3-base
Provides: libclc(llvm%{_llvm_sonum})
BuildArch: noarch