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

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


commit f735bae49c8a66a2700b5b4078423c9f96483eb8
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-skype.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-skype.spec b/python-skype.spec
index a5f6c8d..38b0356 100644
--- a/python-skype.spec
+++ b/python-skype.spec
@@ -67,12 +67,11 @@ done > lang.py
 cp -p lang.py Skype4Py/lang/__init__.py
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-skype.git/commitdiff/f735bae49c8a66a2700b5b4078423c9f96483eb8



More information about the pld-cvs-commit mailing list