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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:41:52 CET 2015


commit 20ddf315ba425827de2916380418202d6079c46a
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-recaptcha.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-recaptcha.spec b/python-recaptcha.spec
index 521effc..27cc3da 100644
--- a/python-recaptcha.spec
+++ b/python-recaptcha.spec
@@ -40,14 +40,11 @@ strony <http://mailhide.recaptcha.net/apikey>.
 %setup -qn %{fname}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 # structure of this module is an incredible fuckup. anyone knows how to fix this?
 cp -p recaptcha/__init__.py[co] $RPM_BUILD_ROOT%{py_sitescriptdir}/recaptcha
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-recaptcha.git/commitdiff/20ddf315ba425827de2916380418202d6079c46a



More information about the pld-cvs-commit mailing list