[packages/bitbake] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 19:22:57 CET 2015


commit 57c0ce13302aa24723ea63e41102fc9c989f2851
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 19:20:07 2015 +0100

    automatic change: use py_build/py_install macros

 bitbake.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/bitbake.spec b/bitbake.spec
index 43f66dd..25f5ffc 100644
--- a/bitbake.spec
+++ b/bitbake.spec
@@ -70,11 +70,11 @@ Dokumentacja do %{name}.
 sed -i -e 's@#!/bin/sh[[:space:]]@#!/bin/bash @' lib/bb/build.py
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
+%py_install \
 	--prefix=%{_prefix} \
 	--root=$RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bitbake.git/commitdiff/57c0ce13302aa24723ea63e41102fc9c989f2851



More information about the pld-cvs-commit mailing list