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

    automatic change: use py_build/py_install macros

 python-Rabbyt.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-Rabbyt.spec b/python-Rabbyt.spec
index 9dbe219..db1d144 100644
--- a/python-Rabbyt.spec
+++ b/python-Rabbyt.spec
@@ -41,15 +41,12 @@ gier. Posiada dwa cele:
 %{__sed} -i -e "s/'-O3',\?//" setup.py
 
 %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-Rabbyt.git/commitdiff/a0aa44ef5dc67c7576e294b557309c81950fb123

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

Reply via email to