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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:26:27 CET 2015


commit 708c71fd9e0733c333ccb6eac7af565fba269d3e
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-inotify.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-inotify.spec b/python-inotify.spec
index 2ac749c..9907bef 100644
--- a/python-inotify.spec
+++ b/python-inotify.spec
@@ -27,16 +27,14 @@ TODO
 %setup -q
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__install} -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-python setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 mv $RPM_BUILD_ROOT%{_bindir}/inotify $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-inotify.git/commitdiff/708c71fd9e0733c333ccb6eac7af565fba269d3e



More information about the pld-cvs-commit mailing list