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

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


commit 15f88a7269c07eb59527ef44f7fe818ba5af741c
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:42 2015 +0100

    automatic change: use py_build/py_install macros

 python-PyKCS11.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-PyKCS11.spec b/python-PyKCS11.spec
index ec47100..506c9c6 100644
--- a/python-PyKCS11.spec
+++ b/python-PyKCS11.spec
@@ -23,14 +23,12 @@ compile.
 %setup -qn %{rname}-%{version}
 %build
 
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
-        --root=$RPM_BUILD_ROOT \
-        --optimize=2
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-PyKCS11.git/commitdiff/15f88a7269c07eb59527ef44f7fe818ba5af741c



More information about the pld-cvs-commit mailing list