[packages/python-shapely] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 18:43:41 CET 2015


commit 28b55344827556ad980c8134f07a61f48512b980
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:43 2015 +0100

    automatic change: use py_build/py_install macros

 python-shapely.spec | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/python-shapely.spec b/python-shapely.spec
index 8047959..63ca5e6 100644
--- a/python-shapely.spec
+++ b/python-shapely.spec
@@ -30,15 +30,11 @@ układami odniesnienia danych.
 %setup -q -n Shapely-%{version}
 
 %build
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 # install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 # cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-shapely.git/commitdiff/28b55344827556ad980c8134f07a61f48512b980



More information about the pld-cvs-commit mailing list