[packages/python-pyxmpp] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:41:25 CET 2015
commit c75c500d7701a500fc32be745f8f7bb317477cdb
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-pyxmpp.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-pyxmpp.spec b/python-pyxmpp.spec
index b440a1e..3e9c736 100644
--- a/python-pyxmpp.spec
+++ b/python-pyxmpp.spec
@@ -29,13 +29,12 @@ Ten pakiet udostępnia interfejs Pythona do protokołów XMPP i Jabber.
%patch0 -p1
%build
-export CFLAGS="%{rpmcflags}"
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+%py_install
find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" | xargs rm
%clean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pyxmpp.git/commitdiff/c75c500d7701a500fc32be745f8f7bb317477cdb
More information about the pld-cvs-commit
mailing list