]> git.pld-linux.org Git - packages/fusd.git/commitdiff
automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
fusd.spec

index c020e44ceddbb04cccacd984b7c8e14339e621dd..3b80c0bfb72aed52ac982b3839accb585b84e091 100644 (file)
--- 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
This page took 0.316538 seconds and 4 git commands to generate.