From 48435d7eb518104b7755a2eaff0a6dcef5e33a5d Mon Sep 17 00:00:00 2001 From: tzing_t Date: Thu, 7 Aug 2025 12:22:14 +0000 Subject: [PATCH] fix build error --- python-sysv-ipc.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/python-sysv-ipc.spec b/python-sysv-ipc.spec index dd9f63a..3ade159 100644 --- a/python-sysv-ipc.spec +++ b/python-sysv-ipc.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-sysv-ipc Version: 1.1.0 -Release: 2 +Release: 3 Summary: System V IPC primitives (semaphores, shared memory and message queues) for Python License: BSD URL: http://semanchuk.com/philip/sysv_ipc/ @@ -16,6 +16,8 @@ Provides: python-sysv-ipc BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: gcc +# test +BuildRequires: python3-pytest %description -n python3-sysv-ipc System V IPC primitives (semaphores, shared memory and message queues) for Python @@ -61,7 +63,8 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check -%{__python3} setup.py test +export PYTHONPATH=%{buildroot}%{python3_sitelib}:%{buildroot}/usr/lib64/python3.11/site-packages +%{__python3} -m pytest tests/ %files -n python3-sysv-ipc -f filelist.lst @@ -71,6 +74,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Thu Aug 07 2025 tzing - 1.1.0-3 +- Fix build error + * Thu Mar 03 2022 zhaoshuang - 1.1.0-2 - remove unnecessary buildrequires -- Gitee