[packages/deluge] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 19:25:13 CET 2015


commit 3a302740cb63c140885b1f19b63cd09aee9dce0f
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 19:20:07 2015 +0100

    automatic change: use py_build/py_install macros

 deluge.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/deluge.spec b/deluge.spec
index 87aa04c..f7d4f8b 100644
--- a/deluge.spec
+++ b/deluge.spec
@@ -58,14 +58,14 @@ zza routera praktycznie bez konfiguracji przekierowywania portów.
 
 %build
 %ifarch %{x8664} ppc64 sparc64
-	CFLAGS="%{rpmcflags} -DAMD64" %{__python} setup.py build
+	CFLAGS="%{rpmcflags} -DAMD64" %py_build
 %else
-	CFLAGS="%{rpmcflags}" %{__python} setup.py build
+	CFLAGS="%{rpmcflags}" %py_build
 %endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%py_install -O1 --skip-build --root $RPM_BUILD_ROOT
 
 # move lang files into %{_datadir}/locale, find_lang does not work on
 # this. Looks really ugly, if you know a better way please do use it :)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/deluge.git/commitdiff/3a302740cb63c140885b1f19b63cd09aee9dce0f



More information about the pld-cvs-commit mailing list