[packages/python-ReportLab-renderPM] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:11:56 CET 2015
commit 5eabad7630a78ca42bf15a42971e5b29cf1608f7
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:42 2015 +0100
automatic change: use py_build/py_install macros
python-ReportLab-renderPM.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-ReportLab-renderPM.spec b/python-ReportLab-renderPM.spec
index 81a887f..7af1cf4 100644
--- a/python-ReportLab-renderPM.spec
+++ b/python-ReportLab-renderPM.spec
@@ -26,14 +26,12 @@ Moduł do renderowania bitmap dla toolkitu ReportLab.
%build
cd renderPM
CFLAGS="%{rpmcflags}"; export CFLAGS
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
cd renderPM
-python setup.py install \
- --root=$RPM_BUILD_ROOT \
- --optimize=2
+%py_install
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-ReportLab-renderPM.git/commitdiff/5eabad7630a78ca42bf15a42971e5b29cf1608f7
More information about the pld-cvs-commit
mailing list