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:   01-Feb-2009 20:54:17
  Branch: HEAD                             Handle: 2009020119541700

  Added files:
    openpkg-src/perl-vcs    perl-vcs.patch
  Modified files:
    openpkg-src/perl-vcs    perl-vcs.spec

  Log:
    add SVN::Look

  Summary:
    Revision    Changes     Path
    1.1         +11 -0      openpkg-src/perl-vcs/perl-vcs.patch
    1.33        +15 -1      openpkg-src/perl-vcs/perl-vcs.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/perl-vcs/perl-vcs.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 perl-vcs.patch
  --- /dev/null 2009-02-01 20:54:14 +0100
  +++ perl-vcs.patch    2009-02-01 20:54:17 +0100
  @@ -0,0 +1,11 @@
  +Index: SVN-Look-0.13.463/lib/SVN/Look.pm
  +--- SVN-Look-0.13.463/lib/SVN/Look.pm.orig   2008-11-06 04:07:11 +0100
  ++++ SVN-Look-0.13.463/lib/SVN/Look.pm        2009-02-01 20:50:11 +0100
  +@@ -45,6 +45,7 @@
  + our $SVNLOOK;
  + my $root = rootdir();
  + for my $d (
  ++    "@l_prefix@/bin",
  +     path(),
  +     catfile($root, 'usr', 'local', 'bin'),
  +     catfile($root, 'usr', 'bin'),
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/perl-vcs/perl-vcs.spec
  ============================================================================
  $ cvs diff -u -r1.32 -r1.33 perl-vcs.spec
  --- openpkg-src/perl-vcs/perl-vcs.spec        24 Oct 2008 10:06:51 -0000      
1.32
  +++ openpkg-src/perl-vcs/perl-vcs.spec        1 Feb 2009 19:54:17 -0000       
1.33
  @@ -34,6 +34,7 @@
   %define       V_rcs_parser      0.03
   %define       V_text_diff       0.35
   %define       V_text_patch      1.4
  +%define       V_svn_look        0.13.463
   
   #   package information
   Name:         perl-vcs
  @@ -46,7 +47,7 @@
   Group:        Perl
   License:      GPL/Artistic
   Version:      %{V_perl}
  -Release:      20081024
  +Release:      20090201
   
   #   list of sources
   Source0:      
http://www.cpan.org/modules/by-module/Algorithm/Algorithm-Diff-%{V_algorithm_diff}.tar.gz
  @@ -60,6 +61,8 @@
   Source8:      
http://www.cpan.org/modules/by-module/Rcs/Rcs-Parser-%{V_rcs_parser}.tar.gz
   Source9:      
http://www.cpan.org/modules/by-module/Text/Text-Diff-%{V_text_diff}.tar.gz
   Source10:     
http://www.cpan.org/modules/by-module/Text/Text-Patch-%{V_text_patch}.tar.gz
  +Source11:     
http://www.cpan.org/modules/by-module/SVN/SVN-Look-%{V_svn_look}.tar.gz
  +Patch0:       perl-vcs.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -84,6 +87,7 @@
       - Rcs::Parser (%{V_rcs_parser})
       - Text::Diff (%{V_text_diff})
       - Text::Patch (%{V_text_patch})
  +    - SVN::Look (%{V_svn_look})
   
   %track
       prog perl-vcs:Algorithm-Diff = {
  @@ -141,6 +145,11 @@
           url       = http://www.cpan.org/modules/by-module/Text/
           regex     = Text-Patch-(__VER__)\.tar\.gz
       }
  +    prog perl-vcs:SVN-Look = {
  +        version   = %{V_svn_look}
  +        url       = http://www.cpan.org/modules/by-module/SVN/
  +        regex     = SVN-Look-(__VER__)\.tar\.gz
  +    }
   
   %prep
       %setup -q -c
  @@ -154,11 +163,15 @@
       %setup -q -T -D -a 8
       %setup -q -T -D -a 9
       %setup -q -T -D -a 10
  +    %setup -q -T -D -a 11
  +    %patch -p0
   
   %build
   
   %install
       rm -rf $RPM_BUILD_ROOT
  +    %{l_shtool} subst %{l_value -s -a} \
  +        SVN-Look-%{V_svn_look}/lib/SVN/Look.pm
       %{l_prefix}/bin/perl-openpkg prepare
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE0}  configure build install
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE1}  configure build install
  @@ -171,6 +184,7 @@
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE8}  configure build install
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE9}  configure build install
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
  +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
       %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat 
perl-openpkg-files`
   
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to