]> git.pld-linux.org Git - packages/BitTornado.git/blobdiff - BitTornado.spec
BR: rpmbuild(macros) >= 1.710
[packages/BitTornado.git] / BitTornado.spec
index e698e519d7666363cc826d4c07104378775ea133..7c9c332b99f68a9088f959aec4ac59f3215100fa 100644 (file)
@@ -2,12 +2,13 @@ Summary:      BitTornado - an improved bittorrent client
 Summary(pl.UTF-8):     BitTornado - ulepszony klient bittorrenta
 Name:          BitTornado
 Version:       0.3.18
-Release:       3
+Release:       4
 License:       MIT
 Group:         Applications/Communications
 Source0:       http://download2.bittornado.com/download/%{name}-%{version}.tar.gz
 # Source0-md5: faeb137036cfaaeab91afc7f62c7dc30
 URL:           http://bittornado.com/
+BuildRequires: rpmbuild(macros) >= 1.710
 BuildRequires: python-devel
 BuildRequires: rpm-pythonprov
 BuildRequires: sed >= 4.0
@@ -59,7 +60,7 @@ find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_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 docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
This page took 0.082492 seconds and 4 git commands to generate.