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

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


commit 8ad9fb5d4eec46de4750559603dcd42ce6babe82
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-linda.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/python-linda.spec b/python-linda.spec
index e66575f..5df2dc5 100644
--- a/python-linda.spec
+++ b/python-linda.spec
@@ -101,8 +101,7 @@ python setup.py build_ext
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/%{name}-%{version},%{_bindir}}
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
+%py_install \
 	--install-lib=%{py_sitedir} \
 	--optimize=2
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-linda.git/commitdiff/8ad9fb5d4eec46de4750559603dcd42ce6babe82



More information about the pld-cvs-commit mailing list