[packages/python-pisa] Release 4. R update.
matkor
matkor at pld-linux.org
Mon May 23 13:50:49 CEST 2016
commit 7c0cc4a74cbdaf5d65e8d971f3c03fd860dc42fa
Author: Mateusz Korniak <matkor at pld-linux.org>
Date: Mon May 23 13:50:41 2016 +0200
Release 4. R update.
python-pisa.spec | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/python-pisa.spec b/python-pisa.spec
index 0f9760e..e1ac508 100644
--- a/python-pisa.spec
+++ b/python-pisa.spec
@@ -3,7 +3,7 @@ Summary: HTML/XML/CSS to PDF converter using the ReportLab toolkit
Summary(pl.UTF-8): Konwerter formatów HTML/XML/CSS do PDF korzystający z narzędzi ReportLab
Name: python-%{module}
Version: 3.0.33
-Release: 3
+Release: 4
License: Apache v2.0
Group: Libraries/Python
Source0: http://pypi.python.org/packages/source/p/pisa/%{module}-%{version}.tar.gz
@@ -14,10 +14,12 @@ BuildRequires: python-html5lib
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.710
BuildRequires: sed >= 4.0
-%pyrequires_eq python
-Requires: python-html5lib
+Requires: python
Requires: python-PIL
+Requires: python-ReportLab < 3.0
Requires: python-ReportLab >= 2.2
+Requires: python-html5lib
+Requires: python-pyPdf
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -39,8 +41,8 @@ rm -rf $RPM_BUILD_ROOT
%py_install
install -d $RPM_BUILD_ROOT%{_bindir}
-install pisa.py $RPM_BUILD_ROOT%{_bindir}
-sed -i 's@/usr/local/bin/python.*$@/usr/bin/python@' $RPM_BUILD_ROOT%{_bindir}/pisa.py
+cp -p pisa.py $RPM_BUILD_ROOT%{_bindir}
+sed -i 's@%{_prefix}/local/bin/python.*$@%{_bindir}/python@' $RPM_BUILD_ROOT%{_bindir}/pisa.py
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pisa.git/commitdiff/7c0cc4a74cbdaf5d65e8d971f3c03fd860dc42fa
More information about the pld-cvs-commit
mailing list