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

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


commit 200f7e1dab516051ec55edb5755ee07ff4c485a1
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:42 2015 +0100

    automatic change: use py_build/py_install macros

 python-jabber.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-jabber.spec b/python-jabber.spec
index da517cb..bc62cb3 100644
--- a/python-jabber.spec
+++ b/python-jabber.spec
@@ -39,15 +39,13 @@ opartych na Jabberze.
 # see also:
 # http://sourceforge.net/tracker/index.php?func=detail&aid=897527&group_id=30215&atid=398567
 echo 'from jabber import *' > jabber/__init__.py
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-jabber.git/commitdiff/200f7e1dab516051ec55edb5755ee07ff4c485a1



More information about the pld-cvs-commit mailing list