!27 add python3-py to buildrequire

From: @tong_1001 
Reviewed-by: @hubin95 
Signed-off-by: @hubin95
This commit is contained in:
openeuler-ci-bot 2023-07-08 03:47:56 +00:00 committed by Gitee
commit 0d974ab3ef
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -6,7 +6,7 @@ based on C-like declarations that you can often copy-paste from header files or
Name: python-%{_name} Name: python-%{_name}
Version: 1.15.1 Version: 1.15.1
Release: 1 Release: 2
Summary: %{_summary} Summary: %{_summary}
License: MIT License: MIT
URL: http://cffi.readthedocs.org URL: http://cffi.readthedocs.org
@ -22,6 +22,8 @@ Buildrequires: libffi-devel gcc-c++ gcc python3-sphinx
%package -n python3-%{_name} %package -n python3-%{_name}
Summary: %{_summary} Summary: %{_summary}
Buildrequires: python3-devel python3-pycparser python3-pytest python3-setuptools Buildrequires: python3-devel python3-pycparser python3-pytest python3-setuptools
# for test
Buildrequires: python3-py
%{?python_provide:%python_provide python3-%{_name}} %{?python_provide:%python_provide python3-%{_name}}
%description -n python3-%{_name} %{_description} %description -n python3-%{_name} %{_description}
@ -52,6 +54,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/
%doc PKG-INFO README.md %doc PKG-INFO README.md
%changelog %changelog
* Sat Jul 08 2023 shixuantong <shixuantong1@huawei.com> - 1.15.1-2
- add python3-py to buildrequire
* Thu Jan 19 2023 chendh6<chendonghui6@huawei.com> - 1.15.1-1 * Thu Jan 19 2023 chendh6<chendonghui6@huawei.com> - 1.15.1-1
- DESC:upgrade 1.15.1-1 - DESC:upgrade 1.15.1-1