diff --git a/_service b/_service
index d48f265..0235e63 100644
--- a/_service
+++ b/_service
@@ -4,7 +4,7 @@
https://github.com/llvm-mirror/libclc.git
enable
enable
- fb79355642cb7120597f887189f7c4f6c8f426c6
+ f07a10170a91a461e5ea1579ccb025526a372b7a
0.2.0+git.%cd
diff --git a/_servicedata b/_servicedata
index 7676258..a43e12c 100644
--- a/_servicedata
+++ b/_servicedata
@@ -1,6 +1,6 @@
https://github.com/llvm-mirror/libclc.git
- fb79355642cb7120597f887189f7c4f6c8f426c6
+ f07a10170a91a461e5ea1579ccb025526a372b7a
-
+
\ No newline at end of file
diff --git a/libclc-0.2.0+git.20170920.tar.xz b/libclc-0.2.0+git.20170920.tar.xz
deleted file mode 100644
index a06aa25..0000000
--- a/libclc-0.2.0+git.20170920.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5c7316b2d231c554990b6ec01676166cfa0597e5fa5ad219b62d27cd9105d4a9
-size 100456
diff --git a/libclc-0.2.0+git.20171102.tar.xz b/libclc-0.2.0+git.20171102.tar.xz
new file mode 100644
index 0000000..678c7dd
--- /dev/null
+++ b/libclc-0.2.0+git.20171102.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bbcb1daf0368335d7633c0a65768365a708013bcd2a9867076a8ca159c88e315
+size 99496
diff --git a/libclc.changes b/libclc.changes
index 0109516..7d16bd4 100644
--- a/libclc.changes
+++ b/libclc.changes
@@ -1,3 +1,74 @@
+-------------------------------------------------------------------
+Tue Nov 7 12:48:22 UTC 2017 - mpluskal@suse.com
+
+- Update to version 0.2.0+git.20171102:
+ * tgamma: Use unary_decl instead of custom inc file
+ * tanh: Use unary_decl instead of custom inc file
+ * tan: Use unary_decl instead of custom inc file
+ * sqrt: Use unary_decl instead of custom inc file
+ * sinpi: Use unary_decl instead of custom inc file
+ * sinh: Use unary_decl instead of custom inc file
+ * sin: Use unary_decl instead of custom inc file
+ * native_log: Use unary_decl instead of custom inc file
+ * native_log2: Use unary_decl instead of custom inc file
+ * native_log10: Use unary_decl instead of custom inc file
+ * log: Use unary_decl instead of custom inc file
+ * logb: Use unary_decl instead of custom inc file
+ * log2: Use unary_decl instead of custom inc file
+ * log1p: Use unary_decl instead of custom inc file
+ * lgamma: Use unary_decl instead of custom inc file
+ * exp2: Use unary_decl instead of custom inc file
+ * cospi: Use unary_decl instead of custom inc file
+ * cosh: Use unary_decl instead of custom inc file
+ * cos: Use unary_decl instead of custom inc file
+ * cbrt: Use unary_decl instead of custom inc file
+ * atanpi: Use unary_decl instead of custom inc file
+ * atanh: Use unary_decl instead of custom inc file
+ * atan: Use unary_decl instead of custom inc file
+ * asinpi: Use unary_decl instead of custom inc file
+ * asinh: Use unary_dec instead of custom inc file
+ * asin: Use unary_decl instead of custom inc file
+ * acospi: Use unary_decl instead of custom inc file
+ * acosh: Use unary_decl instead of custom inc file
+ * acos: Use unary_decl instead of custom inc file
+ * math: Implement native_log10
+ * amdgpu/math: Don't use llvm instrinsic for native_log
+ * shared: Implement aligned vector stores (vstorea_half)
+ * shared: Implement aligned vector loads (vloada_half)
+ * amdgcn: Add missing datalayout info to .ll files
+ * r600: Add missing datalayout to .ll files
+ * travis: enable checks of nvptx libraries
+ * travis: Enable external function call checks on llvm-{4,5}
+ * Make image builtins r600/llvm-3.9 only
+ * Implement mem_fence on ptx
+ * Make ptx barrier work irrespective of the cl_mem_fence_flags
+ * travis: Make sure we report failure even if only earlier checked files fail
+ * check_external_calls.sh: Print number of calls in tested file.
+ * ptx: Use __clc_nextafter to implement nextafter
+ * Do not include clc_nextafter header globally
+ * math/nextafter: Use custom declaration inc file
+ * math/binary_decl.inc: Do not declare mixed float/double functions
+ * ldexp: Fix double precision function return type
+ * configure: Fix handling of directories with compats only source lists
+ * Add vload_half helpers for ptx
+ * Add vstore_half helpers for ptx
+ * integer/sub_sat: Use clang builtin instead of llvm asm
+ * integer/add_sat: Use clang builtin instead of llvm asm
+ * integer/clz: Use clang builtin instead of llvm asm
+ * Let get_work_dim take exactly 0 arguments
+ * Do no circularly define NULL
+ * Fix amdgcn-amdhsa on llvm-3.9
+ * travis: Check built libraries on llvm-3.9
+ * Add script to check for unresolved function calls
+ * geometric: geometric functions are only supported for vector lengths <=4
+ * travis: add build using llvm-3.9
+ * Restore support for llvm-3.9
+ * Add missing HAVE_LLVM define to fix build with latest llvm
+ * Rework atomic ops to use clang builtins rather than llvm asm
+ * prepare_builtins: Fix compile breakage with older LLVM
+ * [Support] Rename tool_output_file to ToolOutputFile, NFC
+- Use python3 for building
+
-------------------------------------------------------------------
Thu Sep 21 03:02:31 UTC 2017 - jimmy@boombatower.com
diff --git a/libclc.spec b/libclc.spec
index 7675642..a1a91c8 100644
--- a/libclc.spec
+++ b/libclc.spec
@@ -17,23 +17,22 @@
Name: libclc
-Version: 0.2.0+git.20170920
+Version: 0.2.0+git.20171102
Release: 0
Summary: OpenCL C programming language library
-License: BSD-3-Clause or MIT
+License: BSD-3-Clause OR MIT
Group: Development/Libraries/C and C++
Url: http://libclc.llvm.org/
Source0: %{name}-%{version}.tar.xz
Source1: %{name}-rpmlintrc
BuildRequires: gcc
BuildRequires: libstdc++-devel >= 3.9
+BuildRequires: llvm >= 4.0
BuildRequires: llvm-clang-devel >= 4.0
-BuildRequires: llvm-devel >= 4.0
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
-BuildRequires: python
+BuildRequires: python3
BuildRequires: zlib-devel
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Library requirements of the OpenCL C programming language.
@@ -42,12 +41,13 @@ Library requirements of the OpenCL C programming language.
%setup -q
%build
+sed -i "s|python|python3|g" configure.py
export \
CFLAGS="%{optflags}" \
CXXFLAGS="%{optflags}" \
CC=clang \
CXX=clang++
-./configure.py \
+python3 ./configure.py \
--prefix=%{_prefix} \
--with-llvm-config=%{_bindir}/llvm-config \
--with-cxx-compiler=${CXX} \
@@ -60,7 +60,6 @@ make %{?_smp_mflags} VERBOSE=1
%make_install
%files
-%defattr(-,root,root)
%doc LICENSE.TXT
%{_includedir}/clc
%{_libdir}/clc