From 1c6aacf98e5ad21f36ed4ab60f234a3df2886da9 Mon Sep 17 00:00:00 2001 From: lyn1001 Date: Sat, 6 May 2023 17:32:58 +0800 Subject: [PATCH] Fix compilation failure caused by setuptool upgrade --- python-reportlab.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/python-reportlab.spec b/python-reportlab.spec index 587d50a..f7005d2 100644 --- a/python-reportlab.spec +++ b/python-reportlab.spec @@ -4,7 +4,7 @@ Name: python-reportlab Version: 3.6.12 -Release: 1 +Release: 2 Summary: ReportLab library to create PDF documents and graphic License: BSD URL: https://www.reportlab.com/ @@ -57,9 +57,10 @@ CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS} -Isrc/rl_addons/renderPM -I%{_includedir}/lib %check # Tests need in-build compiled Python modules to be executed # Tests pre-generate userguide PDF -cp -a build/lib.%{python3_platform}-%{python3_version}/reportlab tests/ -cp -a build/lib.%{python3_platform}-%{python3_version}/reportlab docs/ -cp -a build/lib.%{python3_platform}-%{python3_version}/reportlab docs/userguide/ +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/ + %{__python3} setup.py tests %endif @@ -72,6 +73,9 @@ cp -a build/lib.%{python3_platform}-%{python3_version}/reportlab docs/userguide/ %doc demos/ tools/ %changelog +* Sat May 6 2023 liyanan - 3.6.12-2 +- Fix compilation failure caused by setuptool upgrade + * Tue Dec 13 2022 wubijie - 3.6.12-1 - Update package to version 3.6.12 -- Gitee