commit b6d416457e5a794878663799105fb6b43008ba22
Author: Jacek Konieczny <[email protected]>
Date:   Sat Nov 28 18:06:42 2015 +0100

    automatic change: use py_build/py_install macros

 python-django-celery.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-django-celery.spec b/python-django-celery.spec
index 4d561bf..03a6f88 100644
--- a/python-django-celery.spec
+++ b/python-django-celery.spec
@@ -32,13 +32,11 @@ applications listed in INSTALLED_APPS, and more.
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-       --optimize=2 \
-       --skip-build \
+%py_install \
        --root $RPM_BUILD_ROOT
 
 %py_postclean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-django-celery.git/commitdiff/b6d416457e5a794878663799105fb6b43008ba22

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to