[packages/python-ctypesgen] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:19:21 CET 2015
commit d11d9109b835c57221567f7dc88ccf76a77da4f7
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-ctypesgen.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-ctypesgen.spec b/python-ctypesgen.spec
index a0a58f3..7de7343 100644
--- a/python-ctypesgen.spec
+++ b/python-ctypesgen.spec
@@ -33,14 +33,12 @@ nagłówkowych w C.
%setup -q -n %{module}
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --root=$RPM_BUILD_ROOT \
- --optimize=2
+%py_install
# defaultheader.py and preamble.py are templates not modules, so .py files
# are required instead of compiled versions (and py_postclean cannot be used)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-ctypesgen.git/commitdiff/d11d9109b835c57221567f7dc88ccf76a77da4f7
More information about the pld-cvs-commit
mailing list