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

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   20-May-2006 11:13:00
  Branch: HEAD                             Handle: 2006052010125900

  Modified files:
    openpkg-src/bison       bison.patch bison.spec

  Log:
    upgrading package: bison 2.1 -> 2.2; auto adapt "example" removal
    replacing patching with substitution

  Summary:
    Revision    Changes     Path
    1.3         +0  -12     openpkg-src/bison/bison.patch
    1.58        +5  -2      openpkg-src/bison/bison.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/bison/bison.patch
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 bison.patch
  --- openpkg-src/bison/bison.patch     21 Sep 2005 06:33:33 -0000      1.2
  +++ openpkg-src/bison/bison.patch     20 May 2006 09:12:59 -0000      1.3
  @@ -1,15 +1,3 @@
  -Index: Makefile.in
  ---- Makefile.in.orig 2005-09-17 00:57:55 +0200
  -+++ Makefile.in      2005-09-21 08:31:58 +0200
  -@@ -234,7 +234,7 @@
  - sysconfdir = @sysconfdir@
  - target_alias = @target_alias@
  - ACLOCAL_AMFLAGS = -I m4
  --SUBDIRS = config po runtime-po lib data src doc examples tests
  -+SUBDIRS = config po runtime-po lib data src doc tests
  - aclocal_DATA = m4/bison-i18n.m4
  - EXTRA_DIST = GNUmakefile Makefile.cfg Makefile.maint \
  -   OChangeLog PACKAGING
   Index: lib/timevar.c
   --- lib/timevar.c.orig       2005-07-24 09:24:22 +0200
   +++ lib/timevar.c    2005-09-21 08:30:28 +0200
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/bison/bison.spec
  ============================================================================
  $ cvs diff -u -r1.57 -r1.58 bison.spec
  --- openpkg-src/bison/bison.spec      1 Jan 2006 13:12:17 -0000       1.57
  +++ openpkg-src/bison/bison.spec      20 May 2006 09:12:59 -0000      1.58
  @@ -23,7 +23,7 @@
   ##
   
   #   package versions
  -%define       V_new      2.1
  +%define       V_new      2.2
   %define       V_old      1.35
   
   #   package information
  @@ -37,7 +37,7 @@
   Group:        Language
   License:      GPL
   Version:      %{V_new}
  -Release:      20050921
  +Release:      20060520
   
   #   list of sources
   Source0:      ftp://ftp.gnu.org/gnu/bison/bison-%{V_new}.tar.gz
  @@ -78,6 +78,9 @@
       %setup -q -c -n bison-%{V_new}
       %patch -p0 -d bison-%{V_new}
       %setup -q -T -D -a 1
  +    %{l_shtool} subst \
  +        -e 's;^\( *SUBDIRS = .*\) examples\(.*\)$;\1\2;' \
  +        Makefile.in
   
   %build
       ( cd bison-%{V_new}
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to