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

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


commit 5b03aa848411e8883e022e24a7bc3668045c53bd
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-decoratortools.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-decoratortools.spec b/python-decoratortools.spec
index dbea1af..3aa1c05 100644
--- a/python-decoratortools.spec
+++ b/python-decoratortools.spec
@@ -30,12 +30,11 @@ need "DecoratorTools".
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
+%py_install \
 	--root $RPM_BUILD_ROOT
 
 %py_postclean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-decoratortools.git/commitdiff/5b03aa848411e8883e022e24a7bc3668045c53bd



More information about the pld-cvs-commit mailing list