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

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


commit 7f80c5b80e1a58ee7694c4951f9afcf5eddbf643
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-unicap.spec | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/python-unicap.spec b/python-unicap.spec
index 1a6b5cc..fa9833f 100644
--- a/python-unicap.spec
+++ b/python-unicap.spec
@@ -52,9 +52,7 @@ export CFLAGS="%{rpmcflags}"
 rm -rf $RPM_BUILD_ROOT
 
 cd src
-%{__python} setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-unicap.git/commitdiff/7f80c5b80e1a58ee7694c4951f9afcf5eddbf643



More information about the pld-cvs-commit mailing list