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

    automatic change: use py_build/py_install macros

 python-django-pipeline.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-django-pipeline.spec b/python-django-pipeline.spec
index ea33949..3a3d890 100644
--- a/python-django-pipeline.spec
+++ b/python-django-pipeline.spec
@@ -29,15 +29,13 @@ template support, and optional data-URI image and font 
embedding
 %{__rm} -r django_pipeline*.egg-info
 
 %build
-%{__python} setup.py build
+%py_build
 
 %{?with_tests:%{__python} setup.py test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-       --skip-build \
-       --optimize=2 \
+%py_install \
        --root $RPM_BUILD_ROOT
 
 %py_postclean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-django-pipeline.git/commitdiff/7ec2b69c125d981c03d7da7304ff016e25835c37

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

Reply via email to