[packages/python-django-skypehub] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:21:04 CET 2015
commit a8f7b6d704dffad7c2cae08cf476123f6791f137
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-django-skypehub.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-django-skypehub.spec b/python-django-skypehub.spec
index c0ddb4d..d809339 100644
--- a/python-django-skypehub.spec
+++ b/python-django-skypehub.spec
@@ -22,14 +22,11 @@ Django-skypehub is an app to use skype in remote api.
%setup -q -n django-skypehub-%{version}
%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-django-skypehub.git/commitdiff/a8f7b6d704dffad7c2cae08cf476123f6791f137
More information about the pld-cvs-commit
mailing list