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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:20:40 CET 2015


commit b6d416457e5a794878663799105fb6b43008ba22
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-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



More information about the pld-cvs-commit mailing list