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

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


commit 05cdcc946395b8bad3ae673ef709c0ad23ed2965
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-pykickstart.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-pykickstart.spec b/python-pykickstart.spec
index fb46693..5dcdc9d 100644
--- a/python-pykickstart.spec
+++ b/python-pykickstart.spec
@@ -25,15 +25,12 @@ files.
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 %{__make} -C po
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %{__make} -C po install \
 	DESTDIR=$RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pykickstart.git/commitdiff/05cdcc946395b8bad3ae673ef709c0ad23ed2965



More information about the pld-cvs-commit mailing list