From 2fa09b23a9a2c1196b6caf43a2518f6654ced908 Mon Sep 17 00:00:00 2001 From: Malik Shahzad Muzaffar Date: Thu, 22 Jul 2021 09:09:44 +0200 Subject: [PATCH] Download tensorboard data server soruces from githhub as the available wheel does not support CC8 --- pip/tensorboard-data-server.file | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pip/tensorboard-data-server.file b/pip/tensorboard-data-server.file index 97a454774f4..c8f91d51c4f 100644 --- a/pip/tensorboard-data-server.file +++ b/pip/tensorboard-data-server.file @@ -1,3 +1,6 @@ +%define source0 https://github.com/tensorflow/tensorboard/archive/refs/tags/data-server-v%{realversion}.tar.gz +%define patchsrc pushd .. ; \ + mkdir data-server ; mv tensorboard-data-server-v%{realversion}/tensorboard/data/server/pip_package/* data-server/ ; \ + rm -rf tensorboard-data-server-v%{realversion} ; mv data-server tensorboard-data-server-v%{realversion}; \ + popd BuildRequires: py3-wheel -Provides: libc.so.6(GLIBC_2.18)(64bit) -%define PipDownloadSourceType none