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

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


commit 5034ceda301064ab0568a1a76096d617756f7657
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:41 2015 +0100

    automatic change: use py_build/py_install macros

 python-AuthKit.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-AuthKit.spec b/python-AuthKit.spec
index 64290fe..cb07785 100644
--- a/python-AuthKit.spec
+++ b/python-AuthKit.spec
@@ -45,13 +45,11 @@ dla frameworków i aplikacji WSGI.
 %setup -q -n %{fname}-%{version}
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-python setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-AuthKit.git/commitdiff/5034ceda301064ab0568a1a76096d617756f7657



More information about the pld-cvs-commit mailing list