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

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


commit 9da7c5e00c8d275379b1963c6ea9c4a2ad906099
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-adodb.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-adodb.spec b/python-adodb.spec
index f28e8d4..90ac91d 100644
--- a/python-adodb.spec
+++ b/python-adodb.spec
@@ -35,14 +35,12 @@ PHP.
 %patch0 -p1
 
 %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-adodb.git/commitdiff/9da7c5e00c8d275379b1963c6ea9c4a2ad906099



More information about the pld-cvs-commit mailing list