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

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


commit 2c2826e9728b30cfffd83499b0f02ee8c869a661
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:41 2015 +0100

    automatic change: use py_build/py_install macros

 python-IPy.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-IPy.spec b/python-IPy.spec
index 584edb2..867e99f 100644
--- a/python-IPy.spec
+++ b/python-IPy.spec
@@ -34,13 +34,12 @@ więc zabawne rzeczy typu maska 0xffffff0f są tutaj niewykonalne.
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py install \
-	--optimize=2 \
+%py_install \
 	--root $RPM_BUILD_ROOT
 
 %py_postclean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-IPy.git/commitdiff/2c2826e9728b30cfffd83499b0f02ee8c869a661



More information about the pld-cvs-commit mailing list