[packages/python-dip] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 18:20:20 CET 2015


commit 5e215427aa1e90f7e4a66b8ff674351422988648
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-dip.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-dip.spec b/python-dip.spec
index d41482c..2b47e63 100644
--- a/python-dip.spec
+++ b/python-dip.spec
@@ -31,13 +31,11 @@ Ta wersja jest przeznaczona dla Pythona 2.x.
 %setup -q -n dip-py2-gpl-%{version}
 
 %build
-%{__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-dip.git/commitdiff/5e215427aa1e90f7e4a66b8ff674351422988648



More information about the pld-cvs-commit mailing list