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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:19:09 CET 2015


commit aef91df11c2b0eecd49e5859c388a140f057a949
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-cssmin.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-cssmin.spec b/python-cssmin.spec
index 57afd69..aa4e80c 100644
--- a/python-cssmin.spec
+++ b/python-cssmin.spec
@@ -22,14 +22,11 @@ A Python port of the YUI CSS compression algorithm.
 %setup -q -n %{module}-%{version}
 
 %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-cssmin.git/commitdiff/aef91df11c2b0eecd49e5859c388a140f057a949



More information about the pld-cvs-commit mailing list