]> git.pld-linux.org Git - packages/BitTorrent.git/commitdiff
automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
BitTorrent.spec

index 74459c5a7bd9caa79a418e89fb0d1de7e021adc7..b3bef4e971e99347ec6b9b2555d8b41a594b5a95 100644 (file)
@@ -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
This page took 0.109702 seconds and 4 git commands to generate.