diff --git a/python-sysv-ipc.spec b/python-sysv-ipc.spec index dd9f63a4e2cdc9f57dd766db74855c1ed7522af3..3ade159bd2ffee5521aa005e7e2d62ba36db0c3c 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