OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   20-Aug-2005 08:50:12
  Branch: HEAD                             Handle: 2005082007501200

  Modified files:
    openpkg-src/bittorrent  bittorrent.spec

  Log:
    upgrading package: bittorrent 4.1.3 -> 4.1.4

  Summary:
    Revision    Changes     Path
    1.14        +11 -9      openpkg-src/bittorrent/bittorrent.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/bittorrent/bittorrent.spec
  ============================================================================
  $ cvs diff -u -r1.13 -r1.14 bittorrent.spec
  --- openpkg-src/bittorrent/bittorrent.spec    15 Jul 2005 07:29:54 -0000      
1.13
  +++ openpkg-src/bittorrent/bittorrent.spec    20 Aug 2005 06:50:12 -0000      
1.14
  @@ -32,8 +32,8 @@
   Class:        PLUS
   Group:        Network
   License:      MIT-style
  -Version:      4.1.3
  -Release:      20050715
  +Version:      4.1.4
  +Release:      20050820
   
   #   list of sources
   Source0:      http://www.bittorrent.com/dl/BitTorrent-%{version}.tar.gz
  @@ -74,14 +74,13 @@
       %{l_shtool} mkdir -f -p -m 755 \
           $RPM_BUILD_ROOT%{l_prefix}/libexec/bittorrent
       ( cd $RPM_BUILD_ROOT%{l_prefix}/bin
  -      for src in *.py; do
  -          dst=`echo $src | sed -e 's;\.py$;;'`
  -          mv $src $RPM_BUILD_ROOT%{l_prefix}/libexec/bittorrent/$src
  +      for bin in *; do
  +          mv $bin $RPM_BUILD_ROOT%{l_prefix}/libexec/bittorrent/$bin
             ( echo "#!/bin/sh"
               echo "PYTHONPATH=\"%{l_prefix}/libexec/bittorrent\"; export 
PYTHONPATH"
  -            echo "exec %{l_prefix}/libexec/bittorrent/$src \${1+\"[EMAIL 
PROTECTED]"}"
  -          ) >$RPM_BUILD_ROOT%{l_prefix}/bin/$dst
  -          chmod a+x $RPM_BUILD_ROOT%{l_prefix}/bin/$dst
  +            echo "exec %{l_prefix}/libexec/bittorrent/$bin \${1+\"[EMAIL 
PROTECTED]"}"
  +          ) >$RPM_BUILD_ROOT%{l_prefix}/bin/$bin
  +          chmod a+x $RPM_BUILD_ROOT%{l_prefix}/bin/$bin
         done
       ) || exit $?
       %{l_shtool} mkdir -f -p -m 755 \
  @@ -94,9 +93,12 @@
           %{SOURCE rc.bittorrent} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
       %{l_shtool} mkdir -f -p -m 755 \
           $RPM_BUILD_ROOT%{l_prefix}/var/bittorrent
  +    rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/doc
  +    rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/locale
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
           %{l_files_std} \
  -        '%attr(755,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/bittorrent'
  +        '%attr(755,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/bittorrent' \
  +        '%config %{l_prefix}/etc/bittorrent/*'
   
   %files -f files
   
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to