[packages/python-dictclient] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:20:16 CET 2015
commit 940386e9168862f4d568e70e922fc1a001dc58da
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-dictclient.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-dictclient.spec b/python-dictclient.spec
index be7e219..209625f 100644
--- a/python-dictclient.spec
+++ b/python-dictclient.spec
@@ -21,14 +21,11 @@ A client library for the DICT protocol.
%setup -q -n dictclient
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__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-dictclient.git/commitdiff/940386e9168862f4d568e70e922fc1a001dc58da
More information about the pld-cvs-commit
mailing list