From 3e0761d4dcfe69b6c2733bef3f44fa0e8f20ec32 Mon Sep 17 00:00:00 2001 From: Chunmei Xu Date: Thu, 17 Aug 2023 11:47:37 +0800 Subject: [PATCH] fix requires.txt sed error Signed-off-by: Chunmei Xu --- pytorch.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pytorch.spec b/pytorch.spec index ba3cab3..d8703e8 100644 --- a/pytorch.spec +++ b/pytorch.spec @@ -1,4 +1,4 @@ -%global anolis_version 9 +%global anolis_version 10 %global debug_package %{nil} Name: pytorch @@ -418,8 +418,6 @@ rm -rf %{buildroot}/%{_includedir}/clog.h # egg info %{python3} setup.py egg_info cp -r torch.egg-info %{buildroot}%{python3_sitearch}/ -sed -i 's|[<=>].*||g' %{buildroot}%{python3_sitearch}/*.egg-info/requires.txt -sed -i '/triton/d' %{buildroot}%{python3_sitearch}/*.egg-info/requires.txt %files #%doc README.md CONTRIBUTING.md @@ -464,6 +462,9 @@ sed -i '/triton/d' %{buildroot}%{python3_sitearch}/*.egg-info/requires.txt %changelog +* Thu Aug 17 2023 Chunmei Xu - 1.10.1-10 +- fix requires.txt sed error + * Wed Aug 16 2023 Chunmei Xu - 1.10.1-9 - add egg-info -- Gitee