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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   27-Mar-2004 09:00:48
  Branch: HEAD                             Handle: 2004032708004700

  Modified files:
    openpkg-src/bash        bash.spec

  Log:
    add patchlevel to both package version and online showed version;
    simplify packaging by merging %patch lines

  Summary:
    Revision    Changes     Path
    1.44        +7  -10     openpkg-src/bash/bash.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/bash/bash.spec
  ============================================================================
  $ cvs diff -u -r1.43 -r1.44 bash.spec
  --- openpkg-src/bash/bash.spec        7 Feb 2004 17:53:44 -0000       1.43
  +++ openpkg-src/bash/bash.spec        27 Mar 2004 08:00:47 -0000      1.44
  @@ -26,6 +26,7 @@
   #   package version
   %define       V_real 2.05b
   %define       V_comp 205b
  +%define       V_plvl 7
   
   #   package information
   Name:         bash
  @@ -37,8 +38,8 @@
   Class:        CORE
   Group:        Shell
   License:      GPL
  -Version:      %{V_real}
  -Release:      20040207
  +Version:      %{V_real}.%{V_plvl}
  +Release:      20040327
   
   #   list of sources
   Source0:      ftp://ftp.cwru.edu/pub/bash/bash-%{V_real}.tar.gz
  @@ -83,17 +84,13 @@
   
   %prep
       %setup -q
  -    %patch -p0
  -    %patch -p0 -P 1
  -    %patch -p0 -P 2
  -    %patch -p0 -P 3
  -    %patch -p0 -P 4
  -    %patch -p0 -P 5
  -    %patch -p0 -P 6
  -    %patch -p0 -P 7
  +    %patch -p0 -P 0 1 2 3 4 5 6 7
       %{l_shtool} subst \
           -e 's;@l_openpkg_release@;%{l_openpkg_release};' \
           version.c
  +    %{l_shtool} subst \
  +        -e 's;\(PATCHLEVEL\) 0;\1 %{V_plvl};' \
  +        patchlevel.h
   
   %build
       #   configure package
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to