[packages/python-enet] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:22:30 CET 2015
commit 05720f1062fb120ecbb5797201870f64e3c0d392
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-enet.spec | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/python-enet.spec b/python-enet.spec
index 377a9a3..186012a 100644
--- a/python-enet.spec
+++ b/python-enet.spec
@@ -29,16 +29,11 @@ provides the Python bindings for ENet.
%patch0 -p1
%build
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__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
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-enet.git/commitdiff/05720f1062fb120ecbb5797201870f64e3c0d392
More information about the pld-cvs-commit
mailing list