!5 Upgrade to version v2.10.0 for tensorflow 2.10 build

From: @hubin95 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
This commit is contained in:
openeuler-ci-bot 2022-11-22 03:27:02 +00:00 committed by Gitee
commit d9c99a8a17
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 9 additions and 5 deletions

Binary file not shown.

BIN
keras-2.10.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-Keras
Version: 2.4.3
Version: 2.10.0
Release: 1
Summary: Deep Learning for humans
License: MIT
License: Apache-2.0
URL: https://github.com/keras-team/keras
Source0: https://files.pythonhosted.org/packages/df/1d/46fbcf446b5fa42aff723124fb10bc900e542389e7d7574b0c5466e1ffbc/Keras-2.4.3.tar.gz
Source0: https://github.com/keras-team/keras/archive/refs/tags/v2.10.0.tar.gz#/keras-2.10.0.tar.gz
BuildArch: noarch
Requires: python3-numpy
@ -55,9 +55,10 @@ Keras is compatible with Python 3.6+
and is distributed under the MIT license.
%prep
%autosetup -n Keras-2.4.3
%autosetup -n keras-%{version}
%build
cp ./keras/tools/pip_package/setup.py .
%py3_build
%install
@ -95,5 +96,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Thu Oct 15 2020 Python_Bot <Python_Bot@openeuler.org>
* Mon Nov 21 2022 Bin Hu <hubin73@huawei.com> - 2.10.0-1
- Upgrade to version v2.10.0 for tensorflow 2.10 build
* Thu Oct 15 2020 Python_Bot <Python_Bot@openeuler.org> - 2.4.3-1
- Package Spec generated