[packages/python-google-apputils] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:25:25 CET 2015
commit b01d2f8c4e2c210a05ed7ec1dd5f1165ff3aec24
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-google-apputils.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-google-apputils.spec b/python-google-apputils.spec
index a804f79..3bb27a4 100644
--- a/python-google-apputils.spec
+++ b/python-google-apputils.spec
@@ -45,15 +45,12 @@ Google.
%{__sed} -i -e '/ez_setup/d' setup.py
%build
-%{__python} setup.py build %{?with_tests:test}
+%py_build %{?with_tests:test}
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --skip-build \
- --root=$RPM_BUILD_ROOT \
- --optimize=2
+%py_install
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-google-apputils.git/commitdiff/b01d2f8c4e2c210a05ed7ec1dd5f1165ff3aec24
More information about the pld-cvs-commit
mailing list