From 4901113aa6a0a680e616ad6e2981080f90c4b461 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:44:33 +0100 Subject: [PATCH] rebuilt with python3 [release 0.3-2mamba;Wed Feb 03 2021] --- python-svg2rlg.spec | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/python-svg2rlg.spec b/python-svg2rlg.spec index 8330323..0fe6aed 100644 --- a/python-svg2rlg.spec +++ b/python-svg2rlg.spec @@ -1,6 +1,6 @@ Name: python-svg2rlg Version: 0.3 -Release: 1mamba +Release: 2mamba Summary: Convert SVG to Reportlab drawing Group: System/Libraries Vendor: openmamba @@ -10,11 +10,10 @@ URL: http://code.google.com/p/svg2rlg/ Source: https://pypi.python.org/packages/source/s/svg2rlg/svg2rlg-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version -Requires: python-reportlab +Requires: python3 >= %python_version +Requires: python-reportlab-py3 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch @@ -25,15 +24,15 @@ BuildArch: noarch %setup -q -n svg2rlg-%{version} %build -CFLAGS="%{optflags}" %{__python} setup.py build +CFLAGS="%{optflags}" %{__python3} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python} setup.py install \ +%{__python3} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ - --install-headers=%{_includedir}/python \ - --install-lib=%{python_sitearch} \ + --install-headers=%{python3_inc}/python \ + --install-lib=%{python3_sitearch} \ --record=%{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist @@ -42,5 +41,8 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %defattr(-,root,root) %changelog +* Wed Feb 03 2021 Silvan Calarco 0.3-2mamba +- rebuilt with python3 + * Tue Jun 09 2015 Stefano Cotta Ramusino 0.3-1mamba - package created using the webbuild interface