[packages/python-pygame2] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:37:53 CET 2015
commit e7baeb2c2bc83c40d5295064b676751cf1584995
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-pygame2.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-pygame2.spec b/python-pygame2.spec
index 97236e4..a83f2eb 100644
--- a/python-pygame2.spec
+++ b/python-pygame2.spec
@@ -76,14 +76,13 @@ Pliki nagłówkowe języka C modułów pygame.
%build
CFLAGS="%{rpmcflags} -I/usr/include/smpeg"; export CFLAGS
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-python setup.py install \
- --root=$RPM_BUILD_ROOT
+%py_install
cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pygame2.git/commitdiff/e7baeb2c2bc83c40d5295064b676751cf1584995
More information about the pld-cvs-commit
mailing list