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

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


commit f5acdf95afc12c0765ead5bba2ee128af820eaa5
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-TimeFormat.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/python-TimeFormat.spec b/python-TimeFormat.spec
index 6ee8624..f8ad996 100644
--- a/python-TimeFormat.spec
+++ b/python-TimeFormat.spec
@@ -54,8 +54,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-TimeFormat.git/commitdiff/f5acdf95afc12c0765ead5bba2ee128af820eaa5



More information about the pld-cvs-commit mailing list