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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:45:21 CET 2015


commit eed89cff002c751f598eb9287ee897d0e0b74383
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-spread.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-spread.spec b/python-spread.spec
index 607a09c..365e9fd 100644
--- a/python-spread.spec
+++ b/python-spread.spec
@@ -28,15 +28,12 @@ komunikacji grupowej z otwartymi źródłami.
 %setup -q -n %{module}-%{version}
 
 %build
-CFLAGS="%{rpmcflags}"
-export CFLAGS
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT --optimize=2
+%py_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-spread.git/commitdiff/eed89cff002c751f598eb9287ee897d0e0b74383



More information about the pld-cvs-commit mailing list