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

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


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

    automatic change: use py_build/py_install macros

 python-vcard.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-vcard.spec b/python-vcard.spec
index 9724de1..740091e 100644
--- a/python-vcard.spec
+++ b/python-vcard.spec
@@ -24,13 +24,11 @@ vCard validator, class and utility functions.
 %setup -q -n vCard-module-%{version}
 
 %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/python-vcard.git/commitdiff/ec40806140cd8b933b41595892bbb6e817ad9930



More information about the pld-cvs-commit mailing list