From ac5a9bf12203406a0b59e432b8be24c8af6813c7 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 21 Oct 1999 19:25:19 +0000 Subject: Now builds RPM without complete source. Each target is only 15K. --- scripts/binutils/binutils.spec.in | 14 +++++++++++++- scripts/configure.in | 2 +- scripts/gccnewlib/gccnewlib.spec.in | 19 ++++++++++++++++--- scripts/gdb/gdb.spec.in | 18 +++++++++++++++--- scripts/rtems/rtems.spec.in | 14 +++++++++++++- scripts/setup.def | 1 + 6 files changed, 59 insertions(+), 9 deletions(-) diff --git a/scripts/binutils/binutils.spec.in b/scripts/binutils/binutils.spec.in index 7423e7efc6..b8f8b85862 100644 --- a/scripts/binutils/binutils.spec.in +++ b/scripts/binutils/binutils.spec.in @@ -21,8 +21,20 @@ Prefix: /opt Version: @binutils_version@ Summary: binutils for target @target_alias@ -Source0: binutils-@binutils_version@.tar.gz +Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-@binutils_version@.tar.gz Patch0: binutils-@binutils_version@-rtems-@binutils_patch_version@.diff +# +# The original sources are not included in the source RPM. +# If we included them, then the source RPMs for each target +# would duplicate MBs of source unnecessarily. This is +# a duplication of over 30 MBs of source for each of +# the more than 10 targets it is possible to build. +# +# You can get them yourself from the Internet and copy them to +# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR). +# Or you can try the ftp options of rpm :-) +# +NoSource: 0 %description RTEMS is an open source operating system for embedded systems. diff --git a/scripts/configure.in b/scripts/configure.in index f6fdf59ece..2ea0e05a5c 100644 --- a/scripts/configure.in +++ b/scripts/configure.in @@ -1,7 +1,7 @@ ## $Id$ AC_INIT(binutils) -AM_INIT_AUTOMAKE(scripts,19991021-0,no) +AM_INIT_AUTOMAKE(scripts,19991021-1,no) # RTEMS_CHECK_VERSION(..) RTEMS_VERSION=GET_RTEMS_VERSION_XXX diff --git a/scripts/gccnewlib/gccnewlib.spec.in b/scripts/gccnewlib/gccnewlib.spec.in index a283b755a8..8191d4cc3b 100644 --- a/scripts/gccnewlib/gccnewlib.spec.in +++ b/scripts/gccnewlib/gccnewlib.spec.in @@ -20,13 +20,26 @@ Packager: corsepiu@faw.uni-ulm.de and joel@OARcorp.com Version: @gcc_version@newlib@newlib_version@ Summary: rtems gcc and newlib C Library for target @target_alias@ -Source0: gcc-@gcc_version@.tar.gz -Source1: newlib-@newlib_version@.tar.gz +Source0: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-@gcc_version@.tar.gz +Source1: ftp://sourceware.cygnus/com/pub/newlib/newlib-@newlib_version@.tar.gz Patch0: gcc-@gcc_version@-rtems-@gcc_patch_version@.diff Patch1: newlib-@newlib_version@-rtems-@newlib_patch_version@.diff +# +# The original sources are not included in the source RPM. +# If we included them, then the source RPMs for each target +# would duplicate MBs of source unnecessarily. This is +# a duplication of over 30 MBs of source for each of +# the more than 10 targets it is possible to build. +# +# You can get them yourself from the Internet and copy them to +# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR). +# Or you can try the ftp options of rpm :-) +# +NoSource: 0, 1 + Buildroot: @rpm_build_root@ -# Patch: + %description RTEMS is an open source operating system for embedded systems. diff --git a/scripts/gdb/gdb.spec.in b/scripts/gdb/gdb.spec.in index ab99739bfa..e3ba2479a6 100644 --- a/scripts/gdb/gdb.spec.in +++ b/scripts/gdb/gdb.spec.in @@ -21,12 +21,24 @@ Packager: corsepiu@faw.uni-ulm.de and joel@OARcorp.com Version: @gdb_version@ Summary: gdb for target @target_alias@ -Source0: gdb-@gdb_version@.tar.gz -Patch0: gdb-@gdb_version@-rtems-@gdb_patch_version@.diff +Source0: ftp://ftp.gnu.org/pub/gnu/gdbgdb-@gdb_version@.tar.gz +Patch0: gdb-@gdb_version@-rtems-@gdb_patch_version@.diff +# +# The original sources are not included in the source RPM. +# If we included them, then the source RPMs for each target +# would duplicate MBs of source unnecessarily. This is +# a duplication of over 30 MBs of source for each of +# the more than 10 targets it is possible to build. +# +# You can get them yourself from the Internet and copy them to +# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR). +# Or you can try the ftp options of rpm :-) +# +NoSource: 0 + Buildroot: @rpm_build_root@ -# Patch: %description RTEMS is an open source operating system for embedded systems. diff --git a/scripts/rtems/rtems.spec.in b/scripts/rtems/rtems.spec.in index fdc8a43b04..f0aab6e919 100644 --- a/scripts/rtems/rtems.spec.in +++ b/scripts/rtems/rtems.spec.in @@ -20,10 +20,22 @@ Packager: corsepiu@faw.uni-ulm.de Version: @Version@ Summary: A free operating system for embedded systems Source: rtems-@Version@.tar.gz +# +# The original sources are not included in the source RPM. +# If we included them, then the source RPMs for each target +# would duplicate MBs of source unnecessarily. This is +# a duplication of over 30 MBs of source for each of +# the more than 10 targets it is possible to build. +# +# You can get them yourself from the Internet and copy them to +# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR). +# Or you can try the ftp options of rpm :-) +# +NoSource: 0 # We claim to be relocatible, but in fact we are not Prefix: /opt Buildroot: @rpm_build_root@ -# Patch: + %description RTEMS is a free operating system for embedded systems. diff --git a/scripts/setup.def b/scripts/setup.def index 7b78b9eb35..8f87a2fb93 100644 --- a/scripts/setup.def +++ b/scripts/setup.def @@ -10,3 +10,4 @@ gccnewlib_rpm_release=1 gdb_version=4.18 gdb_patch_version=19991015 gdb_rpm_release=1 +rpm_build_root=/tmp -- cgit v1.2.3