[packages/python-ctypeslib] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:19:25 CET 2015
commit d4ef5bea28b158ece8a4399c2ed4324db9f80fcc
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-ctypeslib.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-ctypeslib.spec b/python-ctypeslib.spec
index f3b3e91..5c0d8bc 100644
--- a/python-ctypeslib.spec
+++ b/python-ctypeslib.spec
@@ -47,14 +47,11 @@ ctypeslib zawiera następujące pakiety:
%patch0 -p1
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --skip-build \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-ctypeslib.git/commitdiff/d4ef5bea28b158ece8a4399c2ed4324db9f80fcc
More information about the pld-cvs-commit
mailing list