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

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


commit efdeee5d66c4e7c962bc8601deda5ff364fe3de1
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-medusa.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-medusa.spec b/python-medusa.spec
index e36b1c1..49b2e2f 100644
--- a/python-medusa.spec
+++ b/python-medusa.spec
@@ -34,14 +34,11 @@ jednego procesu/wątku.
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-medusa.git/commitdiff/efdeee5d66c4e7c962bc8601deda5ff364fe3de1



More information about the pld-cvs-commit mailing list