commit 5eabad7630a78ca42bf15a42971e5b29cf1608f7
Author: Jacek Konieczny <[email protected]>
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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit