commit 0caf611f017c4d0c55889e8cd95c4b5b515502c8
Author: Jacek Konieczny <[email protected]>
Date:   Sat Nov 28 18:06:42 2015 +0100

    automatic change: use py_build/py_install macros

 python-googlemaps.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-googlemaps.spec b/python-googlemaps.spec
index 6229ca3..51379a2 100644
--- a/python-googlemaps.spec
+++ b/python-googlemaps.spec
@@ -21,14 +21,12 @@ Provides geocoding, reverse geocoding, directions, and 
local search.
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py install \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-googlemaps.git/commitdiff/0caf611f017c4d0c55889e8cd95c4b5b515502c8

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to