]> git.pld-linux.org Git - packages/python-pisa.git/commitdiff
Release 4. R update. auto/th/python-pisa-3.0.33-4
authorMateusz Korniak <matkor@pld-linux.org>
Mon, 23 May 2016 11:50:41 +0000 (13:50 +0200)
committerMateusz Korniak <matkor@pld-linux.org>
Mon, 23 May 2016 11:50:41 +0000 (13:50 +0200)
python-pisa.spec

index 0f9760eea0df04a6d454c3a9cfaa63d83152b313..e1ac508b34bda1c1e84e28002392f2e01fb3f5c8 100644 (file)
@@ -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
 
This page took 0.081443 seconds and 4 git commands to generate.