From f4c8ee5b0de9a747412e75660a7c2ddc8c9cff42 Mon Sep 17 00:00:00 2001 From: doupengda Date: Mon, 15 Jul 2024 15:18:56 +0800 Subject: [PATCH] fix check fail problem for loongarch64 --- python-requests-unixsocket.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/python-requests-unixsocket.spec b/python-requests-unixsocket.spec index 1304629..b303a08 100644 --- a/python-requests-unixsocket.spec +++ b/python-requests-unixsocket.spec @@ -3,7 +3,7 @@ Summary: Use requests to talk HTTP via a UNIX domain socket Name: python-%{pypi_name} Version: 0.3.0 -Release: 1%{?dist} +Release: 2%{?dist} License: ASL 2.0 URL: https://github.com/msabramo/requests-unixsocket Source0: https://pypi.python.org/packages/source/r/%{pypi_name}/%{pypi_name}-%{version}.tar.gz @@ -38,7 +38,9 @@ sed -i '/pytest-capturelog/d' test-requirements.txt %check +%ifnarch loongarch64 %{__python3} -m pytest -v +%endif %files -n python3-%{pypi_name} %doc README.rst @@ -47,6 +49,10 @@ sed -i '/pytest-capturelog/d' test-requirements.txt %{python3_sitelib}/requests_unixsocket-%{version}-py%{python3_version}.egg-info %changelog +* Mon Jul 15 2024 Pengda Dou - 0.3.0-2 +- [Type] other +- [DESC] fix check fail problem for loongarch64 + * Fri Sep 22 2023 jackeyji - 0.3.0-1 - upgrade to 0.3.0 -- Gitee