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

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


commit 8f66e571fe2dd298037069d500c748d7fbc95fd3
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-lockfile.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-lockfile.spec b/python-lockfile.spec
index aa223c4..3e50f66 100644
--- a/python-lockfile.spec
+++ b/python-lockfile.spec
@@ -32,15 +32,12 @@ production-quality code.
 
 %build
 export PBR_VERSION=$(rpm -q --qf '%{VERSION}' python-pbr)
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 export PBR_VERSION=$(rpm -q --qf '%{VERSION}' python-pbr)
-%{__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-lockfile.git/commitdiff/8f66e571fe2dd298037069d500c748d7fbc95fd3



More information about the pld-cvs-commit mailing list