[packages/fusd] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:27:37 CET 2015
commit e7ce5345ab03e6a7f928e3a08529c19dbb13ec75
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
fusd.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/fusd.spec b/fusd.spec
index c020e44..3b80c0b 100644
--- a/fusd.spec
+++ b/fusd.spec
@@ -93,7 +93,7 @@ sed -i -e 's#CFLAGS := .*#CFLAGS := -fPIC %{rpmcflags} -DCONFIG_SMP#g' make.incl
%{__make}
cd python
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
@@ -106,9 +106,7 @@ install obj.UP/kfusd.*o $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/misc
install obj.*-linux/kfusd.*o $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/misc
cd python
-python setup.py install \
- --root=$RPM_BUILD_ROOT \
- --optimize=2
+%py_install
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/fusd.git/commitdiff/e7ce5345ab03e6a7f928e3a08529c19dbb13ec75
More information about the pld-cvs-commit
mailing list