Browse Source

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

master
Thomas Lotterer 20 years ago committed by Ralf S. Engelschall
parent
commit
a77f67da60
  1. 12
      bison/bison.patch
  2. 7
      bison/bison.spec

12
bison/bison.patch

@ -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

7
bison/bison.spec

@ -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 @@ Class: CORE
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 @@ AutoReqProv: no
%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}

Loading…
Cancel
Save