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

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


commit 6727038c7519e794ee10acb6197fd83018e42dc8
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-vobject.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-vobject.spec b/python-vobject.spec
index 318cac8..c6ce965 100644
--- a/python-vobject.spec
+++ b/python-vobject.spec
@@ -38,14 +38,12 @@ wyrafinowany sposób.
 %setup -q -n vobject-%{version}
 
 %build
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py install \
+%py_install \
 	--install-purelib=%{py_sitedir} \
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-vobject.git/commitdiff/6727038c7519e794ee10acb6197fd83018e42dc8



More information about the pld-cvs-commit mailing list