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

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


commit 6fcd4145176672842faf12d202efb9c5927167ed
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:44 2015 +0100

    automatic change: use py_build/py_install macros

 python-text_file.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/python-text_file.spec b/python-text_file.spec
index cff45b6..eeef3fc 100644
--- a/python-text_file.spec
+++ b/python-text_file.spec
@@ -57,8 +57,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-text_file.git/commitdiff/6fcd4145176672842faf12d202efb9c5927167ed



More information about the pld-cvs-commit mailing list