[packages/python-wxPython] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:48:46 CET 2015
commit 6ee687e88bae72d9c164ad4d99c5b4377d32f0b1
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:44 2015 +0100
automatic change: use py_build/py_install macros
python-wxPython.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-wxPython.spec b/python-wxPython.spec
index 5c4dda4..2fcc6e8 100644
--- a/python-wxPython.spec
+++ b/python-wxPython.spec
@@ -110,8 +110,7 @@ Przykładowe programy w wxPythonie.
%build
cd wxPython
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build \
+%py_build \
WX_CONFIG=%{_bindir}/wx-gtk2-unicode-config \
UNICODE=1
@@ -119,7 +118,7 @@ CFLAGS="%{rpmcflags}" \
rm -rf $RPM_BUILD_ROOT
cd wxPython
-%{__python} setup.py install \
+%py_install \
WX_CONFIG=%{_bindir}/wx-gtk2-unicode-config \
INSTALL_MULTIVERSION=0 \
UNICODE=1 \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-wxPython.git/commitdiff/6ee687e88bae72d9c164ad4d99c5b4377d32f0b1
More information about the pld-cvs-commit
mailing list