[packages/ceph-deploy] automatic change: use py_build/py_install macros

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


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

    automatic change: use py_build/py_install macros

 ceph-deploy.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/ceph-deploy.spec b/ceph-deploy.spec
index 60f407e..b05a7bc 100644
--- a/ceph-deploy.spec
+++ b/ceph-deploy.spec
@@ -35,15 +35,13 @@ extra bureaucracy, this is for you.
 
 %build
 export CEPH_DEPLOY_NO_VENDOR=1
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 export CEPH_DEPLOY_NO_VENDOR=1
-%{__python} setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 # no %%py_postclean !
 # ceph-deploy uses remoto/execnet to run its source code remotely
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ceph-deploy.git/commitdiff/8e694aab7100cd871ad78aaf908bf8491d712a7c



More information about the pld-cvs-commit mailing list