From f27df48e11b0de35d5c30fdc79917473b133668a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:39:44 +0100 Subject: [PATCH] rebuilt with distdeps [release 2.5.2-2mamba;Sat Nov 12 2022] --- python-CairoSVG.spec | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/python-CairoSVG.spec b/python-CairoSVG.spec index 4a344dc..c5f3625 100644 --- a/python-CairoSVG.spec +++ b/python-CairoSVG.spec @@ -1,31 +1,34 @@ Name: python-CairoSVG Version: 2.5.2 -Release: 1mamba +Release: 2mamba Summary: A Simple SVG Converter for Cairo Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://pypi.python.org/pypi/CairoSVG +URL: https://pypi.org/project/CairoSVG/ Source: https://pypi.debian.net/CairoSVG/CairoSVG-%{version}.tar.gz -#Source: https://pypi.debian.net/CairoSVG/CairoSVG-%{version}.tar.gz License: LGPL ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(cairocffi) +BuildRequires: python3.7dist(cssselect2) +BuildRequires: python3.7dist(defusedxml) +BuildRequires: python3.7dist(pillow) +BuildRequires: python3.7dist(setuptools) +BuildRequires: python3.7dist(tinycss2) ## AUTOBUILDREQ-END -BuildRequires: libpython3-devel >= 3.7.4 -Requires: python >= %python_version %description %{summary}. -%prep -%setup -q -n CairoSVG-%{version} - %if "%{?with_pyver}" %pyver_package %endif +%prep +%setup -q -n CairoSVG-%{version} + %build CFLAGS="%{optflags}" %{__python} setup.py build @@ -38,12 +41,17 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist -sed -i "s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%dir %{python_sitearch}/CairoSVG-%{version}-py*.egg-info +%{python_sitearch}/CairoSVG-%{version}-py*.egg-info/* %changelog +* Sat Nov 12 2022 Silvan Calarco 2.5.2-2mamba +- rebuilt with distdeps + * Sat Mar 20 2021 Automatic Build System 2.5.2-1mamba - automatic version update by autodist