[packages/python-ReportLab-rl_accel] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:12:00 CET 2015
commit ab4df7060031472d2fb3cec55f55564bf08bd855
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-rl_accel.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-ReportLab-rl_accel.spec b/python-ReportLab-rl_accel.spec
index 09b7bd1..5d2ef5c 100644
--- a/python-ReportLab-rl_accel.spec
+++ b/python-ReportLab-rl_accel.spec
@@ -26,14 +26,12 @@ Napisany w C akcelerator rozszerzeń dla toolkitu ReportLab.
%build
cd rl_accel
CFLAGS="%{rpmcflags}"; export CFLAGS
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
cd rl_accel
-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-rl_accel.git/commitdiff/ab4df7060031472d2fb3cec55f55564bf08bd855
More information about the pld-cvs-commit
mailing list