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

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


commit d8b54d09824a41933f06e703b93212ba6678e80c
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-pymsn.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-pymsn.spec b/python-pymsn.spec
index ef9df8a..d8df30b 100644
--- a/python-pymsn.spec
+++ b/python-pymsn.spec
@@ -33,13 +33,11 @@ Moduł Pythona do protokołu MSN.
 %setup -q -n pymsn-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-        --root=$RPM_BUILD_ROOT \
-        --optimize=2
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pymsn.git/commitdiff/d8b54d09824a41933f06e703b93212ba6678e80c



More information about the pld-cvs-commit mailing list