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

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


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



More information about the pld-cvs-commit mailing list