diff --git a/pytorch.spec b/pytorch.spec index ba3cab3a544fc2e9461d81bd2b316228b60b57c2..d8703e8789836eaee9f819f0b358b2f17fcbbfae 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