commit c4890691937a94add3c1378245cd5be22056c706
Author: Jacek Konieczny <[email protected]>
Date:   Sat Nov 28 18:06:43 2015 +0100

    automatic change: use py_build/py_install macros

 python-openhpi.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-openhpi.spec b/python-openhpi.spec
index 6dc6951..0ffd8f0 100644
--- a/python-openhpi.spec
+++ b/python-openhpi.spec
@@ -29,15 +29,12 @@ Wiązanie Pythona do OpenHPI.
 %setup -q -n py-openhpi-%{version}
 
 %build
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build
+%py_build
        
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py install \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-openhpi.git/commitdiff/c4890691937a94add3c1378245cd5be22056c706

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to