[packages/python-geojson] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:24:39 CET 2015
commit e412569d75131d74c20054e1555f8cac5a8a5db8
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-geojson.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-geojson.spec b/python-geojson.spec
index b69ca7f..f41b4d5 100644
--- a/python-geojson.spec
+++ b/python-geojson.spec
@@ -29,13 +29,11 @@ interface.
%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-geojson.git/commitdiff/e412569d75131d74c20054e1555f8cac5a8a5db8
More information about the pld-cvs-commit
mailing list