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

jajcus jajcus at pld-linux.org
Sat Nov 28 19:26:31 CET 2015


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

    automatic change: use py_build/py_install macros

 epour.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/epour.spec b/epour.spec
index 76f09d2..4c6cfb5 100644
--- a/epour.spec
+++ b/epour.spec
@@ -35,15 +35,12 @@ rb-libtorrent.
 %setup -q
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py install \
-	--optimize=2 \
-	--skip-build \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/epour.git/commitdiff/fbfce207e9700ca19030c13c0c7c1235e279ed52



More information about the pld-cvs-commit mailing list