!48 Fix check test failure

From: @yanjianqing_kylin 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2024-04-17 14:03:56 +00:00 committed by Gitee
commit dcf9ba4fb1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -4,7 +4,7 @@
Name: python-reportlab
Version: 4.0.8
Release: 1
Release: 2
Summary: ReportLab library to create PDF documents and graphic
License: BSD
URL: https://www.reportlab.com/
@ -58,9 +58,9 @@ CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS} -Isrc/rl_addons/renderPM}" LDFLAGS="${LDFLAGS
%check
# Tests need in-build compiled Python modules to be executed
# Tests pre-generate userguide PDF
cp -a build/lib.%{python3_platform}-cpython-%{python3_version_nodots}/reportlab tests/
cp -a build/lib.%{python3_platform}-cpython-%{python3_version_nodots}/reportlab docs/
cp -a build/lib.%{python3_platform}-cpython-%{python3_version_nodots}/reportlab docs/userguide/
cp -a build/lib/reportlab tests/
cp -a build/lib/reportlab docs/
cp -a build/lib/reportlab docs/userguide/
%{__python3} setup.py tests
%endif
@ -75,6 +75,9 @@ cp -a build/lib.%{python3_platform}-cpython-%{python3_version_nodots}/reportlab
%doc demos/ tools/
%changelog
* Wed Apr 17 2024 yanjianqing <yanjianqing@kylinos.cn> - 4.0.8-2
- Fix check test failure
* Tue Jan 16 2024 xu_ping <707078654@qq.com> - 4.0.8-1
- Upgrade version to 4.0.8