From 2ff074f68c533343ead218785633de4d3874df2436bfa2a2883d79e5738bbb67 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sun, 14 Nov 2021 20:16:40 +0000 Subject: [PATCH 1/5] - create /usr/lib64/clc compatibility symlink (boo#1192675) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=41 --- libclc.changes | 5 +++++ libclc.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libclc.changes b/libclc.changes index 69027a6..0174e22 100644 --- a/libclc.changes +++ b/libclc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Nov 14 19:56:38 UTC 2021 - Stefan Dirsch + +- create /usr/lib64/clc compatibility symlink (boo#1192675) + ------------------------------------------------------------------- Sat Oct 2 20:13:04 UTC 2021 - Aaron Puchert diff --git a/libclc.spec b/libclc.spec index b8c7538..20a74a1 100644 --- a/libclc.spec +++ b/libclc.spec @@ -44,7 +44,6 @@ BuildRequires: llvm9-devel %endif BuildRequires: python3-base Provides: libclc(llvm%{_llvm_sonum}) -BuildArch: noarch %description Library requirements of the OpenCL C programming language. @@ -66,11 +65,14 @@ Library requirements of the OpenCL C programming language. %install %cmake_install +mkdir -p %{buildroot}/usr/lib64 +ln -snf /usr/share/clc %{buildroot}/usr/lib64/clc %files %license LICENSE.TXT %{_includedir}/clc %{_datadir}/clc %{_datadir}/pkgconfig/libclc.pc +/usr/lib64/clc %changelog From 0e3f757a20036fc133ee50c5cf0e30226b136d627c896bc365522adfc779ac48 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sun, 14 Nov 2021 20:22:26 +0000 Subject: [PATCH 2/5] - due to above no longer noarch package OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=42 --- libclc.changes | 1 + 1 file changed, 1 insertion(+) diff --git a/libclc.changes b/libclc.changes index 0174e22..511db00 100644 --- a/libclc.changes +++ b/libclc.changes @@ -2,6 +2,7 @@ Sun Nov 14 19:56:38 UTC 2021 - Stefan Dirsch - create /usr/lib64/clc compatibility symlink (boo#1192675) +- due to above no longer noarch package ------------------------------------------------------------------- Sat Oct 2 20:13:04 UTC 2021 - Aaron Puchert From b682ce7a347581fce7da258e52bdc409fe36b8485d0edb2c30c11dd77d463095 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sun, 14 Nov 2021 20:48:27 +0000 Subject: [PATCH 3/5] fix build on 32bit platforms ... OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=43 --- libclc.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libclc.spec b/libclc.spec index 20a74a1..847eb8f 100644 --- a/libclc.spec +++ b/libclc.spec @@ -66,13 +66,13 @@ Library requirements of the OpenCL C programming language. %install %cmake_install mkdir -p %{buildroot}/usr/lib64 -ln -snf /usr/share/clc %{buildroot}/usr/lib64/clc +ln -snf /usr/share/clc %{buildroot}%{_libdir}/clc %files %license LICENSE.TXT %{_includedir}/clc %{_datadir}/clc %{_datadir}/pkgconfig/libclc.pc -/usr/lib64/clc +%{_libdir}/clc %changelog From 71f929f8fa71865f0db51c3788ccacff6dbd516c1f931466cbcc005b452a25fb Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sun, 14 Nov 2021 20:59:00 +0000 Subject: [PATCH 4/5] fixed build on 32bit platforms for real (hopefully) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=44 --- libclc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libclc.spec b/libclc.spec index 847eb8f..d8bfff6 100644 --- a/libclc.spec +++ b/libclc.spec @@ -65,7 +65,7 @@ Library requirements of the OpenCL C programming language. %install %cmake_install -mkdir -p %{buildroot}/usr/lib64 +mkdir -p %{buildroot}%{_libdir} ln -snf /usr/share/clc %{buildroot}%{_libdir}/clc %files From 014718a635bb4edca8f2d33dd1685eeb20b429d4901ee839350bae8db189fa27 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Mon, 15 Nov 2021 09:31:05 +0000 Subject: [PATCH 5/5] - reverted previous change (boo#1192675) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=45 --- libclc.changes | 5 +++++ libclc.spec | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libclc.changes b/libclc.changes index 511db00..2662bfe 100644 --- a/libclc.changes +++ b/libclc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 15 09:30:31 UTC 2021 - Stefan Dirsch + +- reverted previous change (boo#1192675) + ------------------------------------------------------------------- Sun Nov 14 19:56:38 UTC 2021 - Stefan Dirsch diff --git a/libclc.spec b/libclc.spec index d8bfff6..b8c7538 100644 --- a/libclc.spec +++ b/libclc.spec @@ -44,6 +44,7 @@ BuildRequires: llvm9-devel %endif BuildRequires: python3-base Provides: libclc(llvm%{_llvm_sonum}) +BuildArch: noarch %description Library requirements of the OpenCL C programming language. @@ -65,14 +66,11 @@ Library requirements of the OpenCL C programming language. %install %cmake_install -mkdir -p %{buildroot}%{_libdir} -ln -snf /usr/share/clc %{buildroot}%{_libdir}/clc %files %license LICENSE.TXT %{_includedir}/clc %{_datadir}/clc %{_datadir}/pkgconfig/libclc.pc -%{_libdir}/clc %changelog