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

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


commit dd7e2370967644cd215c557dcde1947a54c56f73
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-dispatch.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-dispatch.spec b/python-dispatch.spec
index b425d97..11a9b32 100644
--- a/python-dispatch.spec
+++ b/python-dispatch.spec
@@ -73,14 +73,12 @@ Ten pakiet zawiera programy przykładowe i testowe.
 %setup -q -n %{srcname}-%{version}
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 mv  $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/{examples,tests} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-dispatch.git/commitdiff/dd7e2370967644cd215c557dcde1947a54c56f73



More information about the pld-cvs-commit mailing list