!11 [sync] PR-7: 修复check阶段报错

From: @openeuler-sync-bot 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2023-01-15 06:26:14 +00:00 committed by Gitee
commit e103dfbc90
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: python-cairocffi
Version: 1.2.0
Release: 1
Release: 2
Summary: cffi-based cairo bindings for Python
License: BSD
URL: https://pypi.python.org/pypi/cairocffi/
@ -59,8 +59,7 @@ rm -rf %{srcname}.egg-info
%py3_install
%check
# test_xcb.py needs a display
xvfb-run %{__python3} setup.py test
%{__python3} setup.py test
%files -n python3-cairocffi
@ -70,5 +69,8 @@ xvfb-run %{__python3} setup.py test
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/
%changelog
* Sat Nov 05 2022 yaoxin <yaoxin30@h-partners.com> - 1.2.0-2
- Fix test failed
* Fri Feb 19 2021 Ge Wang<wangge20@huawei.com> - 1.2.0-1
- Init package