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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:12:39 CET 2015


commit e57231e9ae9dda7be13e56c26fba6f34401464dd
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-SquareMap.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-SquareMap.spec b/python-SquareMap.spec
index effda0c..f931abc 100644
--- a/python-SquareMap.spec
+++ b/python-SquareMap.spec
@@ -31,14 +31,11 @@ Element grafiki służący do reprezentowania struktur danych gdzie
 %setup -q -n %{module}-%{version}
 
 %build
-export 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
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-SquareMap.git/commitdiff/e57231e9ae9dda7be13e56c26fba6f34401464dd



More information about the pld-cvs-commit mailing list