[packages/python-klein] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:28:36 CET 2015
commit b3c4e7e91d01a56ae2a3f083e61ec78d50baaf29
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-klein.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-klein.spec b/python-klein.spec
index a5ffe2e..d792486 100644
--- a/python-klein.spec
+++ b/python-klein.spec
@@ -30,14 +30,11 @@ Twisted.
%{__rm} -r %{module}.egg-info
%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-klein.git/commitdiff/b3c4e7e91d01a56ae2a3f083e61ec78d50baaf29
More information about the pld-cvs-commit
mailing list