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

  Server: cvs.openpkg.org                  Name:   Michael van Elst
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   11-Dec-2002 15:21:10
  Branch: HEAD                             Handle: 2002121114211000

  Modified files:
    openpkg-src/openpkg-tool openpkg-build.pl

  Log:
    do the +PROXY

  Summary:
    Revision    Changes     Path
    1.12        +2  -1      openpkg-src/openpkg-tool/openpkg-build.pl
  ____________________________________________________________________________

  Index: openpkg-src/openpkg-tool/openpkg-build.pl
  ============================================================
  $ cvs diff -u -r1.11 -r1.12 openpkg-build.pl
  --- openpkg-src/openpkg-tool/openpkg-build.pl 11 Dec 2002 12:23:15 -0000      1.11
  +++ openpkg-src/openpkg-tool/openpkg-build.pl 11 Dec 2002 14:21:10 -0000      1.12
  @@ -1155,10 +1155,11 @@
   sub target2rpm ($$) {
       my($target,$c) = @_;
       my($tmpl) = $c->{template};
  +    my($popt) = $target->{PROXY} ? '+PROXY' : '';
   
       $tmpl =~ s/%{NAME}/$target->{name}/;
       $tmpl =~ s/%{VERSION}/$target->{version}/;
  -    $tmpl =~ s/%{RELEASE}/$target->{release}/;
  +    $tmpl =~ s/%{RELEASE}/$target->{release}$popt/;
   
       return $c->{rpmdir}.'/'.$tmpl;
   }
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to