summaryrefslogtreecommitdiff
path: root/loggpt.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-10-16 12:52:36 +0000
committerCoprDistGit <infra@openeuler.org>2025-10-16 12:52:36 +0000
commitb88aaaa28e9f36717dbdb55b825e8ed958e76d7a (patch)
tree1262a878417122eea83ec92ce54547cc1da16b03 /loggpt.spec
parent5dbc63a7893c05dea106be8d0dc1080e2c141ae4 (diff)
automatic import of loggpt
Diffstat (limited to 'loggpt.spec')
-rw-r--r--loggpt.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/loggpt.spec b/loggpt.spec
index de55a62..7acdd20 100644
--- a/loggpt.spec
+++ b/loggpt.spec
@@ -36,10 +36,11 @@ mkdir -p %{_builddir}/%{name}-%{version}/wheelhouse
-r requirements.txt \
setuptools wheel pip \
-i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
-
+export https_proxy=http://185.239.85.89:3128
+export http_proxy=http://185.239.85.89:3128
%{__python3} -m pip download \
-d %{_builddir}/%{name}-%{version}/wheelhouse \
- torch==2.8.0+cpu --index-url https://mirrors.aliyun.com/pytorch-wheels/cpu/
+ torch==2.8.0+cpu --index-url https://download.pytorch.org/whl/cpu
cd %{_builddir}/%{name}-%{version}/ && tar -zcf wheelhouse.tar.gz wheelhouse
rm -rf %{_builddir}/%{name}-%{version}/wheelhouse