]> git.pld-linux.org Git - packages/BitTorrent.git/commitdiff
- install .pyc and .pyo files and remove .py files from py_sitescriptdir
authorwrobell <wrobell@pld-linux.org>
Wed, 24 Mar 2004 13:35:39 +0000 (13:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel. 2

Changed files:
    BitTorrent.spec -> 1.18

BitTorrent.spec

index f4d2dab3f5dad7ec0e55d6cca97be9f2fbb85787..38723e9c4e622f3356cd3c4d3e0e3bc56e74ba2b 100644 (file)
@@ -3,7 +3,7 @@ Summary:        BitTorrent - a tool for distributing files
 Summary(pl):   BitTorrent - narzêdzie do rozpowszechniania plików
 Name:          BitTorrent
 Version:       3.4.1a
-Release:       1
+Release:       2
 License:       MIT
 Group:         Applications/Communications
 #Source0Download:      http://bitconjurer.org/BitTorrent/download.html
@@ -58,7 +58,8 @@ find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT
 
-python ./setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
+python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.031674 seconds and 4 git commands to generate.