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

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


commit f478103a7e54af873ffa9a3481c02977cbbd2cb9
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-keyczar.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-keyczar.spec b/python-keyczar.spec
index 23c2454..2040c6d 100644
--- a/python-keyczar.spec
+++ b/python-keyczar.spec
@@ -33,7 +33,7 @@ symmetric and asymmetric keys.
 rm -r python_keyczar.egg-info
 
 %build
-%{__python} setup.py build
+%py_build
 
 %if %{with tests}
 cd tests/keyczar_tests
@@ -42,10 +42,7 @@ PYTHONPATH=$PYTHONPATH:../../src/ ./alltests.py
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-keyczar.git/commitdiff/f478103a7e54af873ffa9a3481c02977cbbd2cb9



More information about the pld-cvs-commit mailing list