From 912297af33065202dcdc46b860eac02997054cbb Mon Sep 17 00:00:00 2001 From: zhaozekai Date: Mon, 19 Aug 2024 17:26:29 +0800 Subject: [PATCH] Added 'Buildarch: noarch' to the help subpackage --- pytorch.spec | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/pytorch.spec b/pytorch.spec index 27eda9b..84095d2 100644 --- a/pytorch.spec +++ b/pytorch.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: pytorch Version: 2.1.2 -Release: 5 +Release: 6 Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration License: BSD-3-Clause URL: https://pytorch.org/ @@ -50,14 +50,7 @@ PyTorch is a Python package that provides two high-level features: - Deep neural networks built on a tape-based autograd system You can reuse your favorite Python packages such as NumPy, SciPy and Cython to extend PyTorch when needed. -%package help -Summary: Development documents and examples for torch -Provides: python3-pytorch-doc -%description help -PyTorch is a Python package that provides two high-level features: -- Tensor computation (like NumPy) with strong GPU acceleration -- Deep neural networks built on a tape-based autograd system -You can reuse your favorite Python packages such as NumPy, SciPy and Cython to extend PyTorch when needed. +%package_help %prep %autosetup -p1 -n %{name}-v%{version} @@ -94,6 +87,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Aug 19 2024 Zekai Zhao - 2.1.2-6 +- Replaced declaration of help subpackage with the 'package_help' macor. + * Wed Jul 17 2024 Dingli Zhang - 2.1.2-5 - Fix build error for riscv64 -- Gitee