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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:27:45 CET 2015


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

    automatic change: use py_build/py_install macros

 python-jsmin.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-jsmin.spec b/python-jsmin.spec
index b90cc69..a6653f7 100644
--- a/python-jsmin.spec
+++ b/python-jsmin.spec
@@ -24,16 +24,13 @@ JavaScript minifier - Python module
 %setup -q -n %{module}-%{version}
 
 %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 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %{__rm} $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/test.*
 %py_postclean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-jsmin.git/commitdiff/5c736ff8db47c1d9ace0969f2bfd84791b5d813b



More information about the pld-cvs-commit mailing list