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

jajcus jajcus at pld-linux.org
Sat Nov 28 19:27:25 CET 2015


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

    automatic change: use py_build/py_install macros

 freevo.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/freevo.spec b/freevo.spec
index 331745f..2619250 100644
--- a/freevo.spec
+++ b/freevo.spec
@@ -93,13 +93,11 @@ find . -name "*.pyo" | xargs rm -f
 find . -name "*.py" | xargs chmod 644
 
 %build
-env CFLAGS="%{rpmcflags}" \
-python setup.py build
+env %py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
+%py_install \
 	--record=INSTALLED_FILES
 
 install local_conf.py.example $RPM_BUILD_ROOT%{_docdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/freevo.git/commitdiff/5740396d0b4c5699545b205712f5201c0e8c2b79



More information about the pld-cvs-commit mailing list