Fix check test failure
This commit is contained in:
parent
f5476caf1f
commit
4d768f50e5
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user