Fix check test failure

This commit is contained in:
yanjianqing 2024-04-17 10:08:29 +08:00
parent f5476caf1f
commit 4d768f50e5

View File

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