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

    automatic change: use py_build/py_install macros

 python-dbfpy.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-dbfpy.spec b/python-dbfpy.spec
index 66b14cd..2b885b2 100644
--- a/python-dbfpy.spec
+++ b/python-dbfpy.spec
@@ -31,14 +31,12 @@ Fiby'ego i Yaroslava Samchuka.
 %setup -q -n %{module}-%{version}
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
-       --root=$RPM_BUILD_ROOT \
-       --optimize=2
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-dbfpy.git/commitdiff/6294b66051da513c39b39347103311f2451f9aea

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

Reply via email to