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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:48:21 CET 2015


commit d91c9e2b0f22c9565da989cb6545821ef60add7e
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:44 2015 +0100

    automatic change: use py_build/py_install macros

 python-webassets.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-webassets.spec b/python-webassets.spec
index e50843d..3f0e7ff 100644
--- a/python-webassets.spec
+++ b/python-webassets.spec
@@ -26,14 +26,11 @@ Also supports URL rewriting in CSS files.
 %undos README.rst docs/{*.rst,Makefile}
 
 %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-webassets.git/commitdiff/d91c9e2b0f22c9565da989cb6545821ef60add7e



More information about the pld-cvs-commit mailing list