[packages/python-fuse] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 18:24:16 CET 2015


commit 1fdbc2fbec6851b3c36045e100dc5c11d734f601
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-fuse.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-fuse.spec b/python-fuse.spec
index e499900..f606ce2 100644
--- a/python-fuse.spec
+++ b/python-fuse.spec
@@ -28,14 +28,11 @@ w przestrzeni użytkownika).
 %setup -q -n fuse-python-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--optimize=2 \
-	--skip-build \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}-%{release}
 cp -p example/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}-%{release}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-fuse.git/commitdiff/1fdbc2fbec6851b3c36045e100dc5c11d734f601



More information about the pld-cvs-commit mailing list