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

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


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

    automatic change: use py_build/py_install macros

 BitTorrent.spec | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/BitTorrent.spec b/BitTorrent.spec
index 74459c5..b3bef4e 100644
--- a/BitTorrent.spec
+++ b/BitTorrent.spec
@@ -81,9 +81,7 @@ sh makei18n.sh
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_mandir}/man1}
 
-python ./setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm
 install debian/* $RPM_BUILD_ROOT%{_mandir}/man1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/BitTorrent.git/commitdiff/da0a52492430c40c9ee01626e707c67f4149d0b8



More information about the pld-cvs-commit mailing list