Compare commits
4 Commits
2.6.0-1mam
...
main
Author | SHA1 | Date | |
---|---|---|---|
45e40cf665 | |||
1904abef59 | |||
a17d696eef | |||
e5a41a4184 |
@ -1,6 +1,6 @@
|
||||
Name: python-CairoSVG
|
||||
Version: 2.6.0
|
||||
Release: 1mamba
|
||||
Version: 2.7.1
|
||||
Release: 2mamba
|
||||
Summary: A Simple SVG Converter for Cairo
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -10,14 +10,15 @@ URL: https://pypi.org/project/CairoSVG/
|
||||
Source: https://pypi.debian.net/CairoSVG/CairoSVG-%{version}.tar.gz
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
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)
|
||||
BuildRequires: libpython311-devel
|
||||
BuildRequires: python3.11dist(cairocffi)
|
||||
BuildRequires: python3.11dist(cssselect2)
|
||||
BuildRequires: python3.11dist(defusedxml)
|
||||
BuildRequires: python3.11dist(pillow)
|
||||
BuildRequires: python3.11dist(setuptools)
|
||||
BuildRequires: python3.11dist(tinycss2)
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: python3-devel >= 3.11.5-3mamba
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
@ -43,12 +44,32 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%if "%{?with_pyver}" != "3"
|
||||
# Rename any conflicting file outside of python site packages tree
|
||||
for f in %{_bindir}/cairosvg; do
|
||||
mv %{buildroot}${f}{,-%{?pyappend}}
|
||||
sed -i "s|${f}|${f}-%{?pyappend}|" %{name}.filelist
|
||||
done
|
||||
%endif
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitearch}/CairoSVG-%{version}-py*.egg-info
|
||||
%{python_sitearch}/CairoSVG-%{version}-py*.egg-info/*
|
||||
|
||||
%changelog
|
||||
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 2.7.1-2mamba
|
||||
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
||||
|
||||
* Sun Aug 06 2023 Automatic Build System <autodist@mambasoft.it> 2.7.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Mar 22 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.0-2mamba
|
||||
- rebuilt with python 3.10
|
||||
|
||||
* Tue Mar 21 2023 Automatic Build System <autodist@mambasoft.it> 2.7.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Jan 13 2023 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user