change the index-url for loongarch64

Signed-off-by: Wenlong Zhang <zhangwenlong@loongson.cn>
(cherry picked from commit 8e418eb0c4ce842abbd2272c1c86a4201ff26928)
This commit is contained in:
Wenlong Zhang 2025-03-31 14:29:58 +08:00 committed by openeuler-sync-bot
parent 212949a844
commit 928814e915
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[global]
timeout = 60
index-url = https://pypi.loongnix.cn/loongson/pypi
index-url = https://lpypi.loongnix.cn/loongson/pypi
extra-index-url = https://pypi.org/simple
[install]
trusted-host =

View File

@ -6,7 +6,7 @@ pip is the package installer for Python. You can use pip to install packages fro
%global bashcompdir %(b=$(pkg-config --variable=completionsdir bash-completion 2>/dev/null); echo ${b:-%{_sysconfdir}/bash_completion.d})
Name: python-%{srcname}
Version: 23.3.1
Release: 2
Release: 3
Summary: A tool for installing and managing Python packages
License: MIT and Python and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0 and (ASL 2.0 or BSD)
URL: http://www.pip-installer.org
@ -134,6 +134,9 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pip.conf
%{python_wheeldir}/%{python_wheelname}
%changelog
* Mon Mar 31 2025 Wenlong Zhang <zhangwenlong@loongson.cn> - 23.3.1-3
- change the index-url for loongarch64
* Sat Jul 13 2024 yangyuan <yangyuan32@huawei.com> - 23.3.1-2
- Fix CVE-2023-45803 and CVE-2024-37891