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

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


commit 3bc4742515e82dc994713f0bcd5e2bcc638d9a6b
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-papyon.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-papyon.spec b/python-papyon.spec
index 05d3567..d6b616c 100644
--- a/python-papyon.spec
+++ b/python-papyon.spec
@@ -42,14 +42,13 @@ usługi komunikatora MSN.
 %patch0 -p1
 
 %build
-%{__python} setup.py build
+%py_build
 
 %{?with_tests:%{__python} test.py}
 
 %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_sitedir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-papyon.git/commitdiff/3bc4742515e82dc994713f0bcd5e2bcc638d9a6b



More information about the pld-cvs-commit mailing list