From c197998ce5fd3b6102105a386f24e5db5823b494 Mon Sep 17 00:00:00 2001 From: laokz Date: Sun, 31 Mar 2024 04:37:16 +0000 Subject: [PATCH] fix %check error Now %check failed with 'ERROR: file or directory not found: c/' From 1.16.0, project source been moved under src/ directory. Reference: https://cffi.readthedocs.io/en/stable/whatsnew.html#v1-16-0 Signed-off-by: laokz --- python-cffi.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-cffi.spec b/python-cffi.spec index d555638..41c7aa9 100644 --- a/python-cffi.spec +++ b/python-cffi.spec @@ -6,7 +6,7 @@ based on C-like declarations that you can often copy-paste from header files or Name: python-%{_name} Version: 1.16.0 -Release: 1 +Release: 2 Summary: %{_summary} License: MIT URL: http://cffi.readthedocs.org @@ -39,7 +39,7 @@ Buildrequires: python3-py %py3_install %check -PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/ +PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest src/c/ testing/ %files -n python3-%{_name} %defattr(-,root,root) @@ -53,6 +53,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/ %doc PKG-INFO README.md %changelog +* Mon Apr 1 2024 laokz - 1.16.0-2 +- Fix %check error + * Wed Jan 10 2024 Dongxing Wang - 1.16.0-1 - Update package to version 1.16.0 -- Gitee