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

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


commit 6b9622f494d3bdaabab093d10588f7e8d0ec8f12
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-ZSI.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-ZSI.spec b/python-ZSI.spec
index 4302669..5704b73 100644
--- a/python-ZSI.spec
+++ b/python-ZSI.spec
@@ -41,13 +41,13 @@ odpowiada aplikacja korzystająca z ZSI.
 %setup -q -n ZSI-%{version}
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
 
-python setup.py install \
+%py_install \
 	--single-version-externally-managed \
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-ZSI.git/commitdiff/6b9622f494d3bdaabab093d10588f7e8d0ec8f12



More information about the pld-cvs-commit mailing list