[packages/python-xmpppy] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:49:13 CET 2015
commit 122db541d934669e983c03b89e6292c15905c8d3
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-xmpppy.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-xmpppy.spec b/python-xmpppy.spec
index 9d484bf..cf4fb12 100644
--- a/python-xmpppy.spec
+++ b/python-xmpppy.spec
@@ -23,12 +23,12 @@ Ten pakiet udostępnia interfejs Pythona do protokołów XMPP i Jabber.
%setup -qn xmpppy-%{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-xmpppy.git/commitdiff/122db541d934669e983c03b89e6292c15905c8d3
More information about the pld-cvs-commit
mailing list