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

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


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

    automatic change: use py_build/py_install macros

 certmaster.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/certmaster.spec b/certmaster.spec
index 0dab67b..1cdde93 100644
--- a/certmaster.spec
+++ b/certmaster.spec
@@ -27,13 +27,11 @@ certmaster is a easy mechanism for distributing SSL certificates.
 %patch0 -p1
 
 %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/certmaster.git/commitdiff/e656e84c20c33768b29575c573e17042abc68fcc



More information about the pld-cvs-commit mailing list