diff --git a/python-reportlab.spec b/python-reportlab.spec index 6e9aad4..89bb254 100644 --- a/python-reportlab.spec +++ b/python-reportlab.spec @@ -1,12 +1,12 @@ Name: python-reportlab -Version: 3.5.49 +Version: 3.5.59 Release: 1mamba Summary: An Open Source Python library for generating PDFs and graphics Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Ercole 'ercolinux' Carpanetto -URL: http://www.reportlab.org/ +URL: https://www.reportlab.com/ Source: https://pypi.debian.net/reportlab/reportlab-%{version}.tar.gz Source1: http://www.reportlab.com/ftp/pfbfer-20070710.zip License: BSD @@ -17,14 +17,13 @@ BuildRequires: libfreetype-devel BuildRequires: libpython-devel ## AUTOBUILDREQ-END BuildRequires: libpython3-devel >= 3.7.4 -BuildRequires: python-Imaging -BuildRequires: python-xml +BuildRequires: python-Pillow-py3 +#BuildRequires: python-xml-py3 Requires: python >= %python_version Requires: python-pip Requires: python-Pillow Provides: ReportLab Obsoletes: ReportLab -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description An Open Source Python library for generating PDFs and graphics. @@ -38,8 +37,27 @@ Requires: %{name} = %{?epoch:epoch:}%{version}-%{release} An Open Source Python library for generating PDFs and graphics. This package contains the documentation files. -%if "%{?with_pyver}" -%pyver_package +%if "%?with_pyver" +%define pyver %{with_pyver} +%define pyappend py%{with_pyver} +%define __python %(rpm --eval %{__python%{with_pyver}}) +%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch}) +%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib}) +%define python_inc %(rpm --eval %{python%{with_pyver}_inc}) +%define python_version %(rpm --eval %{python%{with_pyver}_version}) +%define python_provides %(rpm --eval %{python%{with_pyver}_provides}) +%define python_requires %(rpm --eval %{python%{with_pyver}_requires}) +%define py_requires %(rpm --eval %{py%{with_pyver}_requires}) + +%package py%{pyver} +Group: System/Libraries/Python +Summary: %{summary}. +Requires: python-pip-%{?pyappend} +Requires: python-Pillow-%{?pyappend} +%py_requires + +%description py%{pyver} +%{summary}. %endif %prep @@ -85,6 +103,12 @@ rm -rf demos/tests %endif %changelog +* Sat Feb 27 2021 Silvan Calarco 3.5.59-1mamba +- update to 3.5.59 + +* Thu Dec 31 2020 Silvan Calarco 3.5.57-1mamba +- update to 3.5.57 + * Thu Sep 03 2020 Automatic Build System 3.5.49-1mamba - automatic version update by autodist