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:   05-Dec-2006 08:39:19
  Branch: HEAD                             Handle: 2006120507391900

  Modified files:
    openpkg-src/spread      spread.spec

  Log:
    upgrading package: spread 3.17.3 -> 4.0.0

  Summary:
    Revision    Changes     Path
    1.46        +11 -8      openpkg-src/spread/spread.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/spread/spread.spec
  ============================================================================
  $ cvs diff -u -r1.45 -r1.46 spread.spec
  --- openpkg-src/spread/spread.spec    15 Nov 2006 19:48:32 -0000      1.45
  +++ openpkg-src/spread/spread.spec    5 Dec 2006 07:39:19 -0000       1.46
  @@ -23,7 +23,7 @@
   ##
   
   #   package version
  -%define       V_spread        3.17.3
  +%define       V_spread        4.0.0
   %define       V_spread_perl   3.17.3_108
   
   #   package information
  @@ -37,7 +37,7 @@
   Group:        RPC
   License:      BSD-style
   Version:      %{V_spread}
  -Release:      20061115
  +Release:      20061205
   
   #   package options
   %option       with_perl   no
  @@ -80,11 +80,8 @@
   
   %prep
       %setup -q -n spread-src-%{version}
  -
  -    #   upgrade Perl extension
   %if "%{with_perl}" == "yes"
       %setup -q -n spread-src-%{version} -D -T -a 1
  -    mv Spread-%{V_spread_perl}/* perl/Spread/
   %endif
   
       #   adjust paths in toolkit
  @@ -101,6 +98,11 @@
       %{l_shtool} subst \
           -e "s;My\.name;\"spread.log\";g" \
           log.c
  +%if "%{with_perl}" == "yes"
  +    %{l_shtool} subst \
  +        -e 's;\.\./spread-src-3.17.0/;../include;' \
  +        Spread-%{V_spread_perl}/Makefile.PL
  +%endif
   
   %build
       #   configure toolkit
  @@ -126,7 +128,7 @@
   
       #   build Perl extension
   %if "%{with_perl}" == "yes"
  -    %{l_prefix}/bin/perl-openpkg -d perl/Spread prepare configure build
  +    %{l_prefix}/bin/perl-openpkg -d Spread-%{V_spread_perl} prepare 
configure build
   %endif
   
   %install
  @@ -134,7 +136,7 @@
   
       #   install Perl extension
   %if "%{with_perl}" == "yes"
  -    %{l_prefix}/bin/perl-openpkg -d perl/Spread install
  +    %{l_prefix}/bin/perl-openpkg -d Spread-%{V_spread_perl} install
       %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
   %else
       >perl-openpkg-files
  @@ -145,6 +147,7 @@
   
       #   strip down installation
       rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/*.s[ol]* >/dev/null 2>&1 || true
  +    rm -f $RPM_BUILD_ROOT%{l_prefix}/share/doc >/dev/null 2>&1 || true
   
       #   create additional run-time directory
       %{l_shtool} mkdir -f -p -m 755 \
  @@ -152,7 +155,7 @@
   
       #   install the IP address ACL file
       %{l_shtool} install -c -m 644 \
  -        sample.spread.access_ip \
  +        docs/sample.spread.access_ip \
           $RPM_BUILD_ROOT%{l_prefix}/etc/spread/spread.access_ip
   
       #   install run command file
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to