[packages/python-PIL] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:10:05 CET 2015
commit 76af246b00756a33f0bfa6484d067dba0814d9f9
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-PIL.spec | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/python-PIL.spec b/python-PIL.spec
index eec4813..d767b5f 100644
--- a/python-PIL.spec
+++ b/python-PIL.spec
@@ -111,18 +111,14 @@ export CFLAGS="%{rpmcflags}"
%{__python} selftest.py
cd Sane
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
cd Sane
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
cd ..
install -d $RPM_BUILD_ROOT%{py_incdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-PIL.git/commitdiff/76af246b00756a33f0bfa6484d067dba0814d9f9
More information about the pld-cvs-commit
mailing list