commit 3993f435adc89a7ec44aef04c488851844488506
Author: Jacek Konieczny <[email protected]>
Date: Sat Nov 28 18:06:42 2015 +0100
automatic change: use py_build/py_install macros
python-funcparserlib.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-funcparserlib.spec b/python-funcparserlib.spec
index 02eb997..ad45e12 100644
--- a/python-funcparserlib.spec
+++ b/python-funcparserlib.spec
@@ -23,13 +23,11 @@ and thier arguments and return them as result values.
%{__sed} -i -e 's/^use_setuptools()/#use_setuptools()/' setup.py
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
- --skip-build \
+%py_install \
--root $RPM_BUILD_ROOT
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-funcparserlib.git/commitdiff/3993f435adc89a7ec44aef04c488851844488506
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit