[packages/python-openid] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:33:36 CET 2015
commit 3e725f27bccf7f304435d578d3cdcf10b32d6513
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:43 2015 +0100
automatic change: use py_build/py_install macros
python-openid.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-openid.spec b/python-openid.spec
index 4c980a4..d39c7ec 100644
--- a/python-openid.spec
+++ b/python-openid.spec
@@ -28,14 +28,12 @@ Biblioteka konsumenta i serwera OpenID dla Pythona.
%setup -q
%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_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-openid.git/commitdiff/3e725f27bccf7f304435d578d3cdcf10b32d6513
More information about the pld-cvs-commit
mailing list