[packages/opencl-clang] - pl, release 2 (rebuild with clang 14.0.6)

qboosh qboosh at pld-linux.org
Mon Jun 27 22:33:38 CEST 2022


commit 60ea41c6a0a7bc04a5c95b2c959d8fbea7be48a2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jun 27 22:35:12 2022 +0200

    - pl, release 2 (rebuild with clang 14.0.6)

 opencl-clang.spec | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/opencl-clang.spec b/opencl-clang.spec
index ad8f528..c2a1f68 100644
--- a/opencl-clang.spec
+++ b/opencl-clang.spec
@@ -1,13 +1,13 @@
 
 # requires the OpenCL patches
-%define llvm_version 14.0.0
-
-%define spirv_llvm_translator_version 14.0.0
+%define llvm_version			14.0.0
+%define spirv_llvm_translator_version	14.0.0
 
 Summary:	Intel Graphics Compute Runtime for OpenCL
+Summary(pl.UTF-8):	Biblioteki uruchomieniowe Intel Graphics Compute dla OpenCL
 Name:		opencl-clang
 Version:	14.0.0
-Release:	1
+Release:	2
 License:	University of Illinois/NCSA Open Source License
 Group:		Libraries
 Source0:	https://github.com/intel/opencl-clang/archive/v%{version}/%{name}-%{version}.tar.gz
@@ -27,6 +27,11 @@ Common clang is a thin wrapper library around clang. Common clang has
 OpenCL-oriented API and is capable to compile OpenCL C kernels to
 SPIR-V modules.
 
+%description -l pl.UTF-8
+Common clang to niewielka biblioteka obudowująca clanga. Ma API
+zorientowane na OpenCL i potrafi kompilować jądra C OpenCL do modułów
+WPIR-V
+
 %package devel
 Summary:	Header files for %{name} library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki %{name}
@@ -63,7 +68,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-mv $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.14 $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.%{llvm_version}
+%{__mv} $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.14 $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.%{llvm_version}
 ln -s libopencl-clang.so.%{llvm_version} $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so.14
 ln -sf libopencl-clang.so.%{llvm_version} $RPM_BUILD_ROOT%{_libdir}/libopencl-clang.so
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/opencl-clang.git/commitdiff/60ea41c6a0a7bc04a5c95b2c959d8fbea7be48a2



More information about the pld-cvs-commit mailing list