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

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


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

    automatic change: use py_build/py_install macros

 python-Soya.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-Soya.spec b/python-Soya.spec
index ed9040f..1843740 100644
--- a/python-Soya.spec
+++ b/python-Soya.spec
@@ -64,14 +64,13 @@ Pakiet zawiera kompletny przewodnik dla Soya.
 %setup -q -n %{module}-%{version} -a1
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
 
-%{__python} setup.py install \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-Soya.git/commitdiff/6af0d847b0d0777708671909364e2f96d5f972ff



More information about the pld-cvs-commit mailing list