From b1e1ebc82609e3a691c5504362653a3b3bee1a79 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Mon, 31 Mar 2025 14:29:58 +0800 Subject: [PATCH] change the index-url for loongarch64 Signed-off-by: Wenlong Zhang (cherry picked from commit 8e418eb0c4ce842abbd2272c1c86a4201ff26928) --- pip.loongarch.conf | 2 +- python-pip.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pip.loongarch.conf b/pip.loongarch.conf index fd77def..f283870 100644 --- a/pip.loongarch.conf +++ b/pip.loongarch.conf @@ -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 = diff --git a/python-pip.spec b/python-pip.spec index 3f8a4f2..c1364c2 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -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 - 23.3.1-3 +- change the index-url for loongarch64 + * Sat Jul 13 2024 yangyuan - 23.3.1-2 - Fix CVE-2023-45803 and CVE-2024-37891 -- Gitee