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

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


commit 81c4f2aa2105e334211049d1b9cf4df9680a0189
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:43 2015 +0100

    automatic change: use py_build/py_install macros

 python-scanf.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/python-scanf.spec b/python-scanf.spec
index 045d46b..fa7f26f 100644
--- a/python-scanf.spec
+++ b/python-scanf.spec
@@ -39,8 +39,7 @@ python setup.py build_ext
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{py_sitescriptdir}}
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
+%py_install \
 	--install-lib=%{py_sitescriptdir} \
 	--optimize=2
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-scanf.git/commitdiff/81c4f2aa2105e334211049d1b9cf4df9680a0189



More information about the pld-cvs-commit mailing list