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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:30:48 CET 2015


commit cf366176e689f771cbe3f5c93cb4eeb37a20f259
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-memcached.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-memcached.spec b/python-memcached.spec
index bef0adc..c5f553a 100644
--- a/python-memcached.spec
+++ b/python-memcached.spec
@@ -26,13 +26,11 @@ Pythonowy klient memcached.
 %setup -q
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
+%py_install \
 	--root $RPM_BUILD_ROOT
 
 %py_postclean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-memcached.git/commitdiff/cf366176e689f771cbe3f5c93cb4eeb37a20f259



More information about the pld-cvs-commit mailing list