From c937033eaf70ab818a4179aa2dd12cf21f532e39 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 19 Oct 1999 22:10:08 +0000 Subject: Made it easier to change version numbers. --- scripts/gdb.spec.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts/gdb.spec.in') diff --git a/scripts/gdb.spec.in b/scripts/gdb.spec.in index 2795a582ba..a9e06aae5d 100644 --- a/scripts/gdb.spec.in +++ b/scripts/gdb.spec.in @@ -19,10 +19,10 @@ Provides: @target_alias@-gdb Autoreqprov: on Packager: corsepiu@faw.uni-ulm.de and joel@OARcorp.com -Version: @Version@ +Version: gdb-@gdb_version@ Summary: gdb for target @target_alias@ -Source0: gdb-4.18.tar.gz -Patch0: gdb-4.18-rtems-19991015.diff +Source0: gdb-@gdb_version@.tar.gz +Patch0: gdb-@gdb_version@-rtems-@gdb_patch_version@.diff Buildroot: /tmp # Patch: @@ -37,7 +37,7 @@ Authors: ... %prep -# untar the sources inside @target_alias@-gdb-@Version@ +# untar the sources inside @target_alias@-gdb %setup -c -n @target_alias@-gdb -a 0 %patch0 -p0 @@ -45,7 +45,7 @@ Authors: %build test -d build || mkdir build ( cd build - ../gdb-4.18/configure --target=@target_alias@ \ + ../gdb-@gdb_version@/configure --target=@target_alias@ \ --verbose --prefix=/opt/rtems test -d $RPM_BUILD_ROOT/opt \ -- cgit v1.2.3