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

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


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

    automatic change: use py_build/py_install macros

 dreampie.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/dreampie.spec b/dreampie.spec
index 1f59365..81e9f79 100644
--- a/dreampie.spec
+++ b/dreampie.spec
@@ -29,13 +29,11 @@ Powłoka Pythona z Twoich snów!
 %setup -q
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dreampie.git/commitdiff/df92faf3ee0a33a0d60c4eded01079ccfd3faead



More information about the pld-cvs-commit mailing list