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

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


commit 1753707a9e98897a7322725f8eb28610f8f74dae
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-chm.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-chm.spec b/python-chm.spec
index fd0815b..a54454f 100644
--- a/python-chm.spec
+++ b/python-chm.spec
@@ -34,13 +34,11 @@ MS-ITSS plików - skompresowanych plików pomocy HTML(.chm).
 %setup -q -n %{modulename}-%{version}
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-chm.git/commitdiff/1753707a9e98897a7322725f8eb28610f8f74dae



More information about the pld-cvs-commit mailing list