commit eed89cff002c751f598eb9287ee897d0e0b74383
Author: Jacek Konieczny <[email protected]>
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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit