forked from pool/python-xhtml2pdf
- Switch to downloadable url
- Remove pointless patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
59cbd779dd
commit
65791c3183
@@ -24,9 +24,7 @@ Summary: PDF Generator Using HTML and CSS
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/xhtml2pdf/xhtml2pdf
|
||||
Source: http://pypi.python.org/packages/source/x/xhtml2pdf/xhtml2pdf-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE no_optimize.patch - Don't generate .pyo files during build
|
||||
Patch0: no_optimize.patch
|
||||
Source: https://github.com/xhtml2pdf/xhtml2pdf/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module Pillow >= 2.0}
|
||||
BuildRequires: %{python_module PyPDF2 >= 1.26}
|
||||
BuildRequires: %{python_module html5lib >= 1.0b10}
|
||||
@@ -58,7 +56,6 @@ able to generate PDF templates very quickly without learning new technologies.
|
||||
|
||||
%prep
|
||||
%setup -q -n xhtml2pdf-%{version}
|
||||
%patch0 -p1
|
||||
# sed out hardcoded html5lib require
|
||||
sed -i \
|
||||
-e 's:==1.0b10::g' \
|
||||
|
Reference in New Issue
Block a user