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

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


commit 510397e8969186b8b48d2cdb9d17fdac6782ad26
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-coherence.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-coherence.spec b/python-coherence.spec
index 2d645a7..4226298 100644
--- a/python-coherence.spec
+++ b/python-coherence.spec
@@ -43,7 +43,7 @@ Wraz z GStreamerem tworzy sterowalny renderer mediów DLNA/UPnP.
 %setup -q -n Coherence-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -51,9 +51,7 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/dbus-1/services
 install %SOURCE1 $RPM_BUILD_ROOT%{_datadir}/dbus-1/services/org.Coherence.service
 
-%{__python} setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-coherence.git/commitdiff/510397e8969186b8b48d2cdb9d17fdac6782ad26



More information about the pld-cvs-commit mailing list