From 694febdf50baca5e1e9d5691dfb85c05505e23b1 Mon Sep 17 00:00:00 2001 From: bald Date: Tue, 18 Apr 2023 16:09:44 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix=20issue:=E3=80=90OBS=E3=80=91tensorflow?= =?UTF-8?q?=20install=20problem=20in=20openEuler:22.03:LTS:Next?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tensorflow.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow.spec b/tensorflow.spec index 86fe760..e713de7 100644 --- a/tensorflow.spec +++ b/tensorflow.spec @@ -25,7 +25,7 @@ TensorFlow provides stable Python and C++ APIs, as well as non-guaranteed backwa %package -n python3-tensorflow Summary: An Open Source Machine Learning Framework for Everyone Provides: python-tensorflow -Provides: python%{python3_version}dist(tensorflow) = %{version} +Provides: python%{python3_version}%dist(tensorflow) = %{version} BuildRequires: bazel == 5.1.1 gcc gcc-c++ git BuildRequires: python3-numpy python3-devel python3-Keras-Preprocessing python3-pip python3-wheel python3-packaging python3-requests -- Gitee From 62c1fb81a1e78cc140a782f476759e703babb9c7 Mon Sep 17 00:00:00 2001 From: bald Date: Wed, 19 Apr 2023 09:22:37 +0800 Subject: [PATCH 2/2] fix bug --- tensorflow.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tensorflow.spec b/tensorflow.spec index e713de7..a26f017 100644 --- a/tensorflow.spec +++ b/tensorflow.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: tensorflow Version: 2.10.0 -Release: 2 +Release: 3 Summary: An Open Source Machine Learning Framework for Everyone License: Apache License 2.0 URL: https://www.tensorflow.org/ @@ -25,7 +25,7 @@ TensorFlow provides stable Python and C++ APIs, as well as non-guaranteed backwa %package -n python3-tensorflow Summary: An Open Source Machine Learning Framework for Everyone Provides: python-tensorflow -Provides: python%{python3_version}%dist(tensorflow) = %{version} +Provides: python%{python3_version}%{dist}(tensorflow) = %{version} BuildRequires: bazel == 5.1.1 gcc gcc-c++ git BuildRequires: python3-numpy python3-devel python3-Keras-Preprocessing python3-pip python3-wheel python3-packaging python3-requests @@ -64,6 +64,9 @@ bazel --output_user_root=`pwd`/../output_user_root build --host_copt=-Wno-string %{_bindir}/* %changelog +* Mon Apr 18 2023 ZhangChao - 2.10.0-3 +- Fix bugs caused by providers + * Wed Nov 30 2022 Jincheng Miao - 2.10.0-2 - Modify dependency on gast -- Gitee