diff --git a/tensorflow.spec b/tensorflow.spec index 2fe3ef5cbfacfcdce35023d8969fc4cfce6e11e4..0f3a9052b8bd0a7c89ae985db72a68e4ca5c51a1 100644 --- a/tensorflow.spec +++ b/tensorflow.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: tensorflow Version: 2.10.0 -Release: 3 +Release: 4 Summary: An Open Source Machine Learning Framework for Everyone License: Apache License 2.0 URL: https://www.tensorflow.org/ @@ -47,7 +47,7 @@ patch -d ${extdir} -p0 < %{SOURCE4} %endif ln -sfn $(find ${extdir}/../install -name embedded_tools) ${extdir}/external/bazel_tools ln -sfn $(find ${extdir}/../install -maxdepth 2 -name platforms) ${extdir}/external/platforms -for f in $(find $extdir -lname "/home/abuild/*"); do OLDLINK=$(readlink $f); echo $OLDLINK; NEWLINK=${HOME}/rpmbuild${OLDLINK#*rpmbuild}; ln -sf $NEWLINK $f-newlink; mv -Tf $f-newlink $f; done +for f in $(find $extdir -lname "/home/abuild/*"); do OLDLINK=$(readlink $f); echo $OLDLINK; NEWLINK=%{_topdir}/${OLDLINK#*rpmbuild}; ln -sf $NEWLINK $f-newlink; mv -Tf $f-newlink $f; done for f in $(find $extdir -lname "*/external/*"); do OLDLINK=$(readlink $f); echo $OLDLINK; NEWLINK=${extdir}/external/${OLDLINK#*external}; ln -sf $NEWLINK $f-newlink; mv -Tf $f-newlink $f; done rm -rf ${extdir}/external/local_config* @@ -66,6 +66,9 @@ bazel --output_user_root=`pwd`/../output_user_root build --host_copt=-Wno-string %{_bindir}/* %changelog +* Tue Jun 18 2024 wangxiaomeng - 2.10.0-4 +* Fix build error by mock -r xx.cfg --rebuild src.rpm + * Fri Apr 14 2023 ZhangChao - 2.10.0-3 - Fix EBS build