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

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


commit 2736833c6039feb7eb6a0e2bfc334e011ea416d4
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-virtkey.spec | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/python-virtkey.spec b/python-virtkey.spec
index a79c3cb..182a3d2 100644
--- a/python-virtkey.spec
+++ b/python-virtkey.spec
@@ -23,16 +23,11 @@ getting layout information from the X server.
 %setup -q
 
 %build
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__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
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-virtkey.git/commitdiff/2736833c6039feb7eb6a0e2bfc334e011ea416d4



More information about the pld-cvs-commit mailing list