rebuilt with python3 [release 0.3-2mamba;Wed Feb 03 2021]
This commit is contained in:
parent
3d4e3736fe
commit
4901113aa6
@ -1,6 +1,6 @@
|
|||||||
Name: python-svg2rlg
|
Name: python-svg2rlg
|
||||||
Version: 0.3
|
Version: 0.3
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Convert SVG to Reportlab drawing
|
Summary: Convert SVG to Reportlab drawing
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
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
|
Source: https://pypi.python.org/packages/source/s/svg2rlg/svg2rlg-%{version}.tar.gz
|
||||||
License: BSD
|
License: BSD
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython3-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libpython-devel
|
Requires: python3 >= %python_version
|
||||||
Requires: python >= %python_version
|
Requires: python-reportlab-py3
|
||||||
Requires: python-reportlab
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -25,15 +24,15 @@ BuildArch: noarch
|
|||||||
%setup -q -n svg2rlg-%{version}
|
%setup -q -n svg2rlg-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python3} setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py install \
|
%{__python3} setup.py install \
|
||||||
-O1 --skip-build \
|
-O1 --skip-build \
|
||||||
--root="%{buildroot}" \
|
--root="%{buildroot}" \
|
||||||
--install-headers=%{_includedir}/python \
|
--install-headers=%{python3_inc}/python \
|
||||||
--install-lib=%{python_sitearch} \
|
--install-lib=%{python3_sitearch} \
|
||||||
--record=%{name}.filelist
|
--record=%{name}.filelist
|
||||||
|
|
||||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{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)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 03 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3-2mamba
|
||||||
|
- rebuilt with python3
|
||||||
|
|
||||||
* Tue Jun 09 2015 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.3-1mamba
|
* Tue Jun 09 2015 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.3-1mamba
|
||||||
- package created using the webbuild interface
|
- package created using the webbuild interface
|
||||||
|
Loading…
Reference in New Issue
Block a user