14
0

Accepting request 207073 from home:posophe:branches:devel:languages:python

update

OBS-URL: https://build.opensuse.org/request/show/207073
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=3
This commit is contained in:
Denisart Benjamin
2013-11-15 19:56:42 +00:00
committed by Git OBS Bridge
parent 08e7f329dd
commit 4b00a687c2
4 changed files with 12 additions and 6 deletions

View File

@@ -17,7 +17,7 @@
Name: python-xhtml2pdf
Version: 0.0.4
Version: 0.0.5
Release: 0
Summary: PDF Generator Using HTML and CSS
License: Apache-2.0
@@ -35,7 +35,6 @@ Requires: python-reportlab
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%else
BuildArch: noarch
%endif
@@ -53,7 +52,7 @@ able to generate PDF templates very quickly without learning new technologies.
%patch0 -p1
%build
CFLAGS="%{optflags}" python setup.py build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}