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
|
||||
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 <silvan.calarco@mambasoft.it> 0.3-2mamba
|
||||
- rebuilt with python3
|
||||
|
||||
* Tue Jun 09 2015 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.3-1mamba
|
||||
- package created using the webbuild interface
|
||||
|
Loading…
Reference in New Issue
Block a user