From 31f591482d79a85f370a5852a87b31d072431093 Mon Sep 17 00:00:00 2001 From: zhaozekai Date: Mon, 19 Aug 2024 17:27:25 +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 73c7523..715b7b2 100644 --- a/pytorch.spec +++ b/pytorch.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: pytorch Version: 2.1.2 -Release: 2 +Release: 3 Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration License: BSD-3-Clause URL: https://pytorch.org/ @@ -42,14 +42,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} @@ -86,6 +79,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Aug 19 2024 Zekai Zhao - 2.1.2-3 +- Replaced declaration of help subpackage with the 'package_help' macor. + * Thu Jan 11 2024 Dongxing Wang - 2.1.2-2 - Patch: Add -Wno-error=nonnull for test/cpp/api/ -- Gitee