[rtems-crossrpms commit] Regenerate.
Ralf Corsepius
ralf at rtems.org
Wed Mar 13 17:23:47 UTC 2013
Module: rtems-crossrpms
Branch: rtems-4-10-branch
Commit: 513b36b8c236a5936dd09cb0eabe852819096f13
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=513b36b8c236a5936dd09cb0eabe852819096f13
Author: Ralf Corsépius <ralf.corsepius at rtems.org>
Date: Tue Mar 12 18:12:33 2013 +0100
Regenerate.
---
.../arm/rtems-4.10-arm-rtems4.10-binutils.spec | 6 +-
rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec | 44 ++++++++++----------
rtems4.10/arm/rtems-4.10-arm-rtems4.10-gdb.spec | 15 +++++--
.../avr/rtems-4.10-avr-rtems4.10-binutils.spec | 6 +-
rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec | 44 ++++++++++----------
rtems4.10/avr/rtems-4.10-avr-rtems4.10-gdb.spec | 15 +++++--
.../bfin/rtems-4.10-bfin-rtems4.10-binutils.spec | 6 +-
rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec | 44 ++++++++++----------
rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gdb.spec | 13 +++++-
.../h8300/rtems-4.10-h8300-rtems4.10-binutils.spec | 6 +-
.../h8300/rtems-4.10-h8300-rtems4.10-gcc.spec | 44 ++++++++++----------
.../h8300/rtems-4.10-h8300-rtems4.10-gdb.spec | 15 +++++--
.../i386/rtems-4.10-i386-rtems4.10-binutils.spec | 6 +-
rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec | 44 ++++++++++----------
rtems4.10/i386/rtems-4.10-i386-rtems4.10-gdb.spec | 15 +++++--
.../lm32/rtems-4.10-lm32-rtems4.10-binutils.spec | 6 +-
rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec | 44 ++++++++++----------
rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gdb.spec | 15 +++++--
.../m32c/rtems-4.10-m32c-rtems4.10-binutils.spec | 6 +-
rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec | 44 ++++++++++----------
rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec | 15 +++++--
.../m32r/rtems-4.10-m32r-rtems4.10-binutils.spec | 6 +-
rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec | 44 ++++++++++----------
rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gdb.spec | 15 +++++--
.../m68k/rtems-4.10-m68k-rtems4.10-binutils.spec | 6 +-
rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec | 44 ++++++++++----------
rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gdb.spec | 15 +++++--
.../mips/rtems-4.10-mips-rtems4.10-binutils.spec | 6 +-
rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec | 44 ++++++++++----------
rtems4.10/mips/rtems-4.10-mips-rtems4.10-gdb.spec | 15 +++++--
.../rtems-4.10-mipstx39-rtems4.10-gdb.spec | 15 +++++--
.../rtems-4.10-powerpc-rtems4.10-binutils.spec | 6 +-
.../powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec | 44 ++++++++++----------
.../powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec | 15 +++++--
rtems4.10/sh/rtems-4.10-sh-rtems4.10-binutils.spec | 6 +-
rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec | 44 ++++++++++----------
rtems4.10/sh/rtems-4.10-sh-rtems4.10-gdb.spec | 15 +++++--
.../sparc/rtems-4.10-sparc-rtems4.10-binutils.spec | 6 +-
.../sparc/rtems-4.10-sparc-rtems4.10-gcc.spec | 44 ++++++++++----------
.../sparc/rtems-4.10-sparc-rtems4.10-gdb.spec | 15 +++++--
40 files changed, 479 insertions(+), 379 deletions(-)
diff --git a/rtems4.10/arm/rtems-4.10-arm-rtems4.10-binutils.spec b/rtems4.10/arm/rtems-4.10-arm-rtems4.10-binutils.spec
index ae8fb87..526fb93 100644
--- a/rtems4.10/arm/rtems-4.10-arm-rtems4.10-binutils.spec
+++ b/rtems4.10/arm/rtems-4.10-arm-rtems4.10-binutils.spec
@@ -53,7 +53,7 @@ Name: rtems-4.10-arm-rtems4.10-binutils
Summary: Binutils for target arm-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,11 +62,11 @@ BuildRequires: %{_host_rpmprefix}gcc
%if "%{binutils_version}" >= "2.18"
# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%else
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%endif
BuildRequires: flex
BuildRequires: bison
diff --git a/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec b/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec
index a866fd4..e5d4567 100644
--- a/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec
+++ b/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec
@@ -58,7 +58,7 @@ Summary: arm-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,10 +92,16 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc19}
+%global mpc_provided 1.0.1
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.1.1
+%endif
+
%if 0%{?fc18}
%global mpc_provided 0.9
-%global mpfr_provided 3.1.0
-%global gmp_provided 5.0.4
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
%endif
%if 0%{?fc17}
@@ -104,12 +110,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?fc16}
-%global mpc_provided 0.9
-%global mpfr_provided 3.0.0
-%global gmp_provided 4.3.2
-%endif
-
%if 0%{?el6}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -122,6 +122,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 4.1.4
%endif
+%if 0%{?suse12_3}
+%global mpc_provided 1.0
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
+%endif
+
%if 0%{?suse12_2}
%global mpc_provided 0.8.2
%global mpfr_provided 3.1.0
@@ -134,12 +140,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?suse11_4}
-%global mpc_provided 0.8.2
-%global mpfr_provided 3.0.0
-%global gmp_provided 5.0.1
-%endif
-
%if 0%{?cygwin}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -242,13 +242,13 @@ BuildRequires: rtems-4.10-arm-rtems4.10-gcc = %{gcc_rpmvers}
# For reasons of simplicity, always require them.
BuildRequires: flex bison
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
BuildRequires: rtems-4.10-arm-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-arm-rtems4.10-binutils
Requires: rtems-4.10-arm-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-31%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -367,7 +367,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-30%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-31%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -648,7 +648,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-arm-rtems4.10-binutils
-# Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+# Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-31%{?dist}
# License: GPL
# %if %build_infos
@@ -666,7 +666,7 @@ Summary: libgcc for arm-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-31%{?dist}
License: GPL
%description -n rtems-4.10-arm-rtems4.10-gcc-libgcc
@@ -851,7 +851,7 @@ Summary: C Library (newlib) for arm-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -872,7 +872,7 @@ Newlib C Library for arm-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gdb.spec b/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gdb.spec
index 0c90859..c9489be 100644
--- a/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gdb.spec
+++ b/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gdb.spec
@@ -52,7 +52,7 @@ Name: rtems-4.10-arm-rtems4.10-gdb
Summary: Gdb for target arm-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,8 +62,15 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim
# Whether to build against system readline
-# Default: yes
+# Default: yes, except on EL5
+%if "%{gdb_version}" >= "7.3.91"
+# gdb >= 7.3.91 requires readline6
+# EL5's readline is too old
+%{?el5:%bcond_with system_readline}
+%{!?el5:%bcond_without system_readline}
+%else
%bcond_without system_readline
+%endif
# Whether to build python support
%if "%{_build}" != "%{_host}"
@@ -77,7 +84,7 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim --enable-sim-trace
# suse
-%if "%{?suse}" >= "10.3"
+%if %{defined suse}
BuildRequires: libexpat-devel
%else
# Fedora/CentOS/Cygwin/MinGW
@@ -89,8 +96,8 @@ BuildRequires: %{_host_rpmprefix}ncurses-devel
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
Requires: rtems-4.10-gdb-common
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo}
%if "%{gdb_version}" == "7.2"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
diff --git a/rtems4.10/avr/rtems-4.10-avr-rtems4.10-binutils.spec b/rtems4.10/avr/rtems-4.10-avr-rtems4.10-binutils.spec
index 62de032..d4b3f70 100644
--- a/rtems4.10/avr/rtems-4.10-avr-rtems4.10-binutils.spec
+++ b/rtems4.10/avr/rtems-4.10-avr-rtems4.10-binutils.spec
@@ -53,7 +53,7 @@ Name: rtems-4.10-avr-rtems4.10-binutils
Summary: Binutils for target avr-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,11 +62,11 @@ BuildRequires: %{_host_rpmprefix}gcc
%if "%{binutils_version}" >= "2.18"
# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%else
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%endif
BuildRequires: flex
BuildRequires: bison
diff --git a/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec b/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec
index 6b57452..5c017ac 100644
--- a/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec
+++ b/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec
@@ -58,7 +58,7 @@ Summary: avr-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,10 +92,16 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc19}
+%global mpc_provided 1.0.1
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.1.1
+%endif
+
%if 0%{?fc18}
%global mpc_provided 0.9
-%global mpfr_provided 3.1.0
-%global gmp_provided 5.0.4
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
%endif
%if 0%{?fc17}
@@ -104,12 +110,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?fc16}
-%global mpc_provided 0.9
-%global mpfr_provided 3.0.0
-%global gmp_provided 4.3.2
-%endif
-
%if 0%{?el6}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -122,6 +122,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 4.1.4
%endif
+%if 0%{?suse12_3}
+%global mpc_provided 1.0
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
+%endif
+
%if 0%{?suse12_2}
%global mpc_provided 0.8.2
%global mpfr_provided 3.1.0
@@ -134,12 +140,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?suse11_4}
-%global mpc_provided 0.8.2
-%global mpfr_provided 3.0.0
-%global gmp_provided 5.0.1
-%endif
-
%if 0%{?cygwin}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -242,13 +242,13 @@ BuildRequires: rtems-4.10-avr-rtems4.10-gcc = %{gcc_rpmvers}
# For reasons of simplicity, always require them.
BuildRequires: flex bison
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
BuildRequires: rtems-4.10-avr-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-avr-rtems4.10-binutils
Requires: rtems-4.10-avr-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-31%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -353,7 +353,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-30%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-31%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -633,7 +633,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-avr-rtems4.10-binutils
-# Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+# Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-31%{?dist}
# License: GPL
# %if %build_infos
@@ -651,7 +651,7 @@ Summary: libgcc for avr-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-31%{?dist}
License: GPL
%description -n rtems-4.10-avr-rtems4.10-gcc-libgcc
@@ -775,7 +775,7 @@ Summary: C Library (newlib) for avr-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -796,7 +796,7 @@ Newlib C Library for avr-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gdb.spec b/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gdb.spec
index b9ba331..8db2a3c 100644
--- a/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gdb.spec
+++ b/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gdb.spec
@@ -52,7 +52,7 @@ Name: rtems-4.10-avr-rtems4.10-gdb
Summary: Gdb for target avr-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,8 +62,15 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim
# Whether to build against system readline
-# Default: yes
+# Default: yes, except on EL5
+%if "%{gdb_version}" >= "7.3.91"
+# gdb >= 7.3.91 requires readline6
+# EL5's readline is too old
+%{?el5:%bcond_with system_readline}
+%{!?el5:%bcond_without system_readline}
+%else
%bcond_without system_readline
+%endif
# Whether to build python support
%if "%{_build}" != "%{_host}"
@@ -77,7 +84,7 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim --enable-sim-trace
# suse
-%if "%{?suse}" >= "10.3"
+%if %{defined suse}
BuildRequires: libexpat-devel
%else
# Fedora/CentOS/Cygwin/MinGW
@@ -89,8 +96,8 @@ BuildRequires: %{_host_rpmprefix}ncurses-devel
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
Requires: rtems-4.10-gdb-common
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo}
%if "%{gdb_version}" == "7.2"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
diff --git a/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-binutils.spec b/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-binutils.spec
index ec1e511..15a2a6f 100644
--- a/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-binutils.spec
+++ b/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-binutils.spec
@@ -53,7 +53,7 @@ Name: rtems-4.10-bfin-rtems4.10-binutils
Summary: Binutils for target bfin-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
-Release: 4%{?dist}
+Release: 6%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,11 +62,11 @@ BuildRequires: %{_host_rpmprefix}gcc
%if "%{binutils_version}" >= "2.18"
# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%else
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%endif
BuildRequires: flex
BuildRequires: bison
diff --git a/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec b/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec
index feaafbe..f1d2d7e 100644
--- a/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec
+++ b/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec
@@ -58,7 +58,7 @@ Summary: bfin-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,10 +92,16 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc19}
+%global mpc_provided 1.0.1
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.1.1
+%endif
+
%if 0%{?fc18}
%global mpc_provided 0.9
-%global mpfr_provided 3.1.0
-%global gmp_provided 5.0.4
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
%endif
%if 0%{?fc17}
@@ -104,12 +110,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?fc16}
-%global mpc_provided 0.9
-%global mpfr_provided 3.0.0
-%global gmp_provided 4.3.2
-%endif
-
%if 0%{?el6}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -122,6 +122,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 4.1.4
%endif
+%if 0%{?suse12_3}
+%global mpc_provided 1.0
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
+%endif
+
%if 0%{?suse12_2}
%global mpc_provided 0.8.2
%global mpfr_provided 3.1.0
@@ -134,12 +140,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?suse11_4}
-%global mpc_provided 0.8.2
-%global mpfr_provided 3.0.0
-%global gmp_provided 5.0.1
-%endif
-
%if 0%{?cygwin}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -242,13 +242,13 @@ BuildRequires: rtems-4.10-bfin-rtems4.10-gcc = %{gcc_rpmvers}
# For reasons of simplicity, always require them.
BuildRequires: flex bison
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
BuildRequires: rtems-4.10-bfin-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-bfin-rtems4.10-binutils
Requires: rtems-4.10-bfin-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-31%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -367,7 +367,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-30%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-31%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -648,7 +648,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-bfin-rtems4.10-binutils
-# Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+# Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-31%{?dist}
# License: GPL
# %if %build_infos
@@ -666,7 +666,7 @@ Summary: libgcc for bfin-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-31%{?dist}
License: GPL
%description -n rtems-4.10-bfin-rtems4.10-gcc-libgcc
@@ -851,7 +851,7 @@ Summary: C Library (newlib) for bfin-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -872,7 +872,7 @@ Newlib C Library for bfin-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gdb.spec b/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gdb.spec
index 58ebac6..493a267 100644
--- a/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gdb.spec
+++ b/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gdb.spec
@@ -62,8 +62,15 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim
# Whether to build against system readline
-# Default: yes
+# Default: yes, except on EL5
+%if "%{gdb_version}" >= "7.3.91"
+# gdb >= 7.3.91 requires readline6
+# EL5's readline is too old
+%{?el5:%bcond_with system_readline}
+%{!?el5:%bcond_without system_readline}
+%else
%bcond_without system_readline
+%endif
# Whether to build python support
%if "%{_build}" != "%{_host}"
@@ -77,7 +84,7 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim --enable-sim-trace
# suse
-%if "%{?suse}" >= "10.3"
+%if %{defined suse}
BuildRequires: libexpat-devel
%else
# Fedora/CentOS/Cygwin/MinGW
@@ -87,6 +94,8 @@ BuildRequires: %{_host_rpmprefix}expat-devel
%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
BuildRequires: %{_host_rpmprefix}ncurses-devel
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo}
+
BuildRequires: rtems-4.10-bfin-rtems4.10-binutils
BuildRequires: texinfo
diff --git a/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-binutils.spec b/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-binutils.spec
index b484ebc..060aa5a 100644
--- a/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-binutils.spec
+++ b/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-binutils.spec
@@ -53,7 +53,7 @@ Name: rtems-4.10-h8300-rtems4.10-binutils
Summary: Binutils for target h8300-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,11 +62,11 @@ BuildRequires: %{_host_rpmprefix}gcc
%if "%{binutils_version}" >= "2.18"
# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%else
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%endif
BuildRequires: flex
BuildRequires: bison
diff --git a/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec b/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec
index d339048..1c570cd 100644
--- a/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec
+++ b/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec
@@ -58,7 +58,7 @@ Summary: h8300-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,10 +92,16 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc19}
+%global mpc_provided 1.0.1
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.1.1
+%endif
+
%if 0%{?fc18}
%global mpc_provided 0.9
-%global mpfr_provided 3.1.0
-%global gmp_provided 5.0.4
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
%endif
%if 0%{?fc17}
@@ -104,12 +110,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?fc16}
-%global mpc_provided 0.9
-%global mpfr_provided 3.0.0
-%global gmp_provided 4.3.2
-%endif
-
%if 0%{?el6}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -122,6 +122,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 4.1.4
%endif
+%if 0%{?suse12_3}
+%global mpc_provided 1.0
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
+%endif
+
%if 0%{?suse12_2}
%global mpc_provided 0.8.2
%global mpfr_provided 3.1.0
@@ -134,12 +140,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?suse11_4}
-%global mpc_provided 0.8.2
-%global mpfr_provided 3.0.0
-%global gmp_provided 5.0.1
-%endif
-
%if 0%{?cygwin}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -242,13 +242,13 @@ BuildRequires: rtems-4.10-h8300-rtems4.10-gcc = %{gcc_rpmvers}
# For reasons of simplicity, always require them.
BuildRequires: flex bison
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
BuildRequires: rtems-4.10-h8300-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-h8300-rtems4.10-binutils
Requires: rtems-4.10-h8300-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-31%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -367,7 +367,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-30%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-31%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -648,7 +648,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-h8300-rtems4.10-binutils
-# Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+# Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-31%{?dist}
# License: GPL
# %if %build_infos
@@ -666,7 +666,7 @@ Summary: libgcc for h8300-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-31%{?dist}
License: GPL
%description -n rtems-4.10-h8300-rtems4.10-gcc-libgcc
@@ -851,7 +851,7 @@ Summary: C Library (newlib) for h8300-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -872,7 +872,7 @@ Newlib C Library for h8300-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gdb.spec b/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gdb.spec
index 2b8f507..73dc3ae 100644
--- a/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gdb.spec
+++ b/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gdb.spec
@@ -52,7 +52,7 @@ Name: rtems-4.10-h8300-rtems4.10-gdb
Summary: Gdb for target h8300-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,8 +62,15 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim
# Whether to build against system readline
-# Default: yes
+# Default: yes, except on EL5
+%if "%{gdb_version}" >= "7.3.91"
+# gdb >= 7.3.91 requires readline6
+# EL5's readline is too old
+%{?el5:%bcond_with system_readline}
+%{!?el5:%bcond_without system_readline}
+%else
%bcond_without system_readline
+%endif
# Whether to build python support
%if "%{_build}" != "%{_host}"
@@ -81,7 +88,7 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
# suse
-%if "%{?suse}" >= "10.3"
+%if %{defined suse}
BuildRequires: libexpat-devel
%else
# Fedora/CentOS/Cygwin/MinGW
@@ -93,8 +100,8 @@ BuildRequires: %{_host_rpmprefix}ncurses-devel
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
Requires: rtems-4.10-gdb-common
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo}
%if "%{gdb_version}" == "7.2"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
diff --git a/rtems4.10/i386/rtems-4.10-i386-rtems4.10-binutils.spec b/rtems4.10/i386/rtems-4.10-i386-rtems4.10-binutils.spec
index f5afc9e..0a0e256 100644
--- a/rtems4.10/i386/rtems-4.10-i386-rtems4.10-binutils.spec
+++ b/rtems4.10/i386/rtems-4.10-i386-rtems4.10-binutils.spec
@@ -53,7 +53,7 @@ Name: rtems-4.10-i386-rtems4.10-binutils
Summary: Binutils for target i386-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,11 +62,11 @@ BuildRequires: %{_host_rpmprefix}gcc
%if "%{binutils_version}" >= "2.18"
# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%else
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%endif
BuildRequires: flex
BuildRequires: bison
diff --git a/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec b/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec
index 773e417..8cc96d4 100644
--- a/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec
+++ b/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec
@@ -58,7 +58,7 @@ Summary: i386-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,10 +92,16 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc19}
+%global mpc_provided 1.0.1
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.1.1
+%endif
+
%if 0%{?fc18}
%global mpc_provided 0.9
-%global mpfr_provided 3.1.0
-%global gmp_provided 5.0.4
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
%endif
%if 0%{?fc17}
@@ -104,12 +110,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?fc16}
-%global mpc_provided 0.9
-%global mpfr_provided 3.0.0
-%global gmp_provided 4.3.2
-%endif
-
%if 0%{?el6}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -122,6 +122,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 4.1.4
%endif
+%if 0%{?suse12_3}
+%global mpc_provided 1.0
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
+%endif
+
%if 0%{?suse12_2}
%global mpc_provided 0.8.2
%global mpfr_provided 3.1.0
@@ -134,12 +140,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?suse11_4}
-%global mpc_provided 0.8.2
-%global mpfr_provided 3.0.0
-%global gmp_provided 5.0.1
-%endif
-
%if 0%{?cygwin}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -242,13 +242,13 @@ BuildRequires: rtems-4.10-i386-rtems4.10-gcc = %{gcc_rpmvers}
# For reasons of simplicity, always require them.
BuildRequires: flex bison
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
BuildRequires: rtems-4.10-i386-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-i386-rtems4.10-binutils
Requires: rtems-4.10-i386-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-31%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -367,7 +367,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-30%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-31%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -648,7 +648,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-i386-rtems4.10-binutils
-# Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+# Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-31%{?dist}
# License: GPL
# %if %build_infos
@@ -666,7 +666,7 @@ Summary: libgcc for i386-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-31%{?dist}
License: GPL
%description -n rtems-4.10-i386-rtems4.10-gcc-libgcc
@@ -851,7 +851,7 @@ Summary: C Library (newlib) for i386-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -872,7 +872,7 @@ Newlib C Library for i386-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gdb.spec b/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gdb.spec
index 73976df..005eff6 100644
--- a/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gdb.spec
+++ b/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gdb.spec
@@ -52,7 +52,7 @@ Name: rtems-4.10-i386-rtems4.10-gdb
Summary: Gdb for target i386-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,8 +62,15 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim
# Whether to build against system readline
-# Default: yes
+# Default: yes, except on EL5
+%if "%{gdb_version}" >= "7.3.91"
+# gdb >= 7.3.91 requires readline6
+# EL5's readline is too old
+%{?el5:%bcond_with system_readline}
+%{!?el5:%bcond_without system_readline}
+%else
%bcond_without system_readline
+%endif
# Whether to build python support
%if "%{_build}" != "%{_host}"
@@ -77,7 +84,7 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim --enable-sim-trace
# suse
-%if "%{?suse}" >= "10.3"
+%if %{defined suse}
BuildRequires: libexpat-devel
%else
# Fedora/CentOS/Cygwin/MinGW
@@ -89,8 +96,8 @@ BuildRequires: %{_host_rpmprefix}ncurses-devel
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
Requires: rtems-4.10-gdb-common
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo}
%if "%{gdb_version}" == "7.2"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
diff --git a/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-binutils.spec b/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-binutils.spec
index 2be86b8..23b2649 100644
--- a/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-binutils.spec
+++ b/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-binutils.spec
@@ -53,7 +53,7 @@ Name: rtems-4.10-lm32-rtems4.10-binutils
Summary: Binutils for target lm32-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,11 +62,11 @@ BuildRequires: %{_host_rpmprefix}gcc
%if "%{binutils_version}" >= "2.18"
# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%else
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%endif
BuildRequires: flex
BuildRequires: bison
diff --git a/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec b/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec
index 8bc5ada..4f6a8be 100644
--- a/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec
+++ b/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec
@@ -58,7 +58,7 @@ Summary: lm32-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,10 +92,16 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc19}
+%global mpc_provided 1.0.1
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.1.1
+%endif
+
%if 0%{?fc18}
%global mpc_provided 0.9
-%global mpfr_provided 3.1.0
-%global gmp_provided 5.0.4
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
%endif
%if 0%{?fc17}
@@ -104,12 +110,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?fc16}
-%global mpc_provided 0.9
-%global mpfr_provided 3.0.0
-%global gmp_provided 4.3.2
-%endif
-
%if 0%{?el6}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -122,6 +122,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 4.1.4
%endif
+%if 0%{?suse12_3}
+%global mpc_provided 1.0
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
+%endif
+
%if 0%{?suse12_2}
%global mpc_provided 0.8.2
%global mpfr_provided 3.1.0
@@ -134,12 +140,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?suse11_4}
-%global mpc_provided 0.8.2
-%global mpfr_provided 3.0.0
-%global gmp_provided 5.0.1
-%endif
-
%if 0%{?cygwin}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -242,13 +242,13 @@ BuildRequires: rtems-4.10-lm32-rtems4.10-gcc = %{gcc_rpmvers}
# For reasons of simplicity, always require them.
BuildRequires: flex bison
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
BuildRequires: rtems-4.10-lm32-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-lm32-rtems4.10-binutils
Requires: rtems-4.10-lm32-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-31%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -367,7 +367,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-30%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-31%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -648,7 +648,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-lm32-rtems4.10-binutils
-# Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+# Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-31%{?dist}
# License: GPL
# %if %build_infos
@@ -666,7 +666,7 @@ Summary: libgcc for lm32-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-31%{?dist}
License: GPL
%description -n rtems-4.10-lm32-rtems4.10-gcc-libgcc
@@ -851,7 +851,7 @@ Summary: C Library (newlib) for lm32-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -872,7 +872,7 @@ Newlib C Library for lm32-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gdb.spec b/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gdb.spec
index 07da9e5..d9bd957 100644
--- a/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gdb.spec
+++ b/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gdb.spec
@@ -52,7 +52,7 @@ Name: rtems-4.10-lm32-rtems4.10-gdb
Summary: Gdb for target lm32-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,8 +62,15 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim
# Whether to build against system readline
-# Default: yes
+# Default: yes, except on EL5
+%if "%{gdb_version}" >= "7.3.91"
+# gdb >= 7.3.91 requires readline6
+# EL5's readline is too old
+%{?el5:%bcond_with system_readline}
+%{!?el5:%bcond_without system_readline}
+%else
%bcond_without system_readline
+%endif
# Whether to build python support
%if "%{_build}" != "%{_host}"
@@ -81,7 +88,7 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
# suse
-%if "%{?suse}" >= "10.3"
+%if %{defined suse}
BuildRequires: libexpat-devel
%else
# Fedora/CentOS/Cygwin/MinGW
@@ -93,8 +100,8 @@ BuildRequires: %{_host_rpmprefix}ncurses-devel
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
Requires: rtems-4.10-gdb-common
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo}
%if "%{gdb_version}" == "7.2"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
diff --git a/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-binutils.spec b/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-binutils.spec
index 8eff978..a6c3f58 100644
--- a/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-binutils.spec
+++ b/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-binutils.spec
@@ -53,7 +53,7 @@ Name: rtems-4.10-m32c-rtems4.10-binutils
Summary: Binutils for target m32c-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,11 +62,11 @@ BuildRequires: %{_host_rpmprefix}gcc
%if "%{binutils_version}" >= "2.18"
# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%else
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%endif
BuildRequires: flex
BuildRequires: bison
diff --git a/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec b/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec
index 29310e5..fbb14e5 100644
--- a/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec
+++ b/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec
@@ -58,7 +58,7 @@ Summary: m32c-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,10 +92,16 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc19}
+%global mpc_provided 1.0.1
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.1.1
+%endif
+
%if 0%{?fc18}
%global mpc_provided 0.9
-%global mpfr_provided 3.1.0
-%global gmp_provided 5.0.4
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
%endif
%if 0%{?fc17}
@@ -104,12 +110,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?fc16}
-%global mpc_provided 0.9
-%global mpfr_provided 3.0.0
-%global gmp_provided 4.3.2
-%endif
-
%if 0%{?el6}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -122,6 +122,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 4.1.4
%endif
+%if 0%{?suse12_3}
+%global mpc_provided 1.0
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
+%endif
+
%if 0%{?suse12_2}
%global mpc_provided 0.8.2
%global mpfr_provided 3.1.0
@@ -134,12 +140,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?suse11_4}
-%global mpc_provided 0.8.2
-%global mpfr_provided 3.0.0
-%global gmp_provided 5.0.1
-%endif
-
%if 0%{?cygwin}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -242,13 +242,13 @@ BuildRequires: rtems-4.10-m32c-rtems4.10-gcc = %{gcc_rpmvers}
# For reasons of simplicity, always require them.
BuildRequires: flex bison
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
BuildRequires: rtems-4.10-m32c-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-m32c-rtems4.10-binutils
Requires: rtems-4.10-m32c-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-31%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -353,7 +353,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-30%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-31%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -633,7 +633,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-m32c-rtems4.10-binutils
-# Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+# Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-31%{?dist}
# License: GPL
# %if %build_infos
@@ -651,7 +651,7 @@ Summary: libgcc for m32c-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-31%{?dist}
License: GPL
%description -n rtems-4.10-m32c-rtems4.10-gcc-libgcc
@@ -776,7 +776,7 @@ Summary: C Library (newlib) for m32c-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -797,7 +797,7 @@ Newlib C Library for m32c-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec b/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec
index 8990723..ac250af 100644
--- a/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec
+++ b/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec
@@ -52,7 +52,7 @@ Name: rtems-4.10-m32c-rtems4.10-gdb
Summary: Gdb for target m32c-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,8 +62,15 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim
# Whether to build against system readline
-# Default: yes
+# Default: yes, except on EL5
+%if "%{gdb_version}" >= "7.3.91"
+# gdb >= 7.3.91 requires readline6
+# EL5's readline is too old
+%{?el5:%bcond_with system_readline}
+%{!?el5:%bcond_without system_readline}
+%else
%bcond_without system_readline
+%endif
# Whether to build python support
%if "%{_build}" != "%{_host}"
@@ -81,7 +88,7 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
# suse
-%if "%{?suse}" >= "10.3"
+%if %{defined suse}
BuildRequires: libexpat-devel
%else
# Fedora/CentOS/Cygwin/MinGW
@@ -93,8 +100,8 @@ BuildRequires: %{_host_rpmprefix}ncurses-devel
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
Requires: rtems-4.10-gdb-common
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo}
%if "%{gdb_version}" == "7.2"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
diff --git a/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-binutils.spec b/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-binutils.spec
index 0d6701a..67c1197 100644
--- a/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-binutils.spec
+++ b/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-binutils.spec
@@ -53,7 +53,7 @@ Name: rtems-4.10-m32r-rtems4.10-binutils
Summary: Binutils for target m32r-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,11 +62,11 @@ BuildRequires: %{_host_rpmprefix}gcc
%if "%{binutils_version}" >= "2.18"
# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%else
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%endif
BuildRequires: flex
BuildRequires: bison
diff --git a/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec b/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec
index 939f255..d03fa29 100644
--- a/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec
+++ b/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec
@@ -58,7 +58,7 @@ Summary: m32r-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,10 +92,16 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc19}
+%global mpc_provided 1.0.1
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.1.1
+%endif
+
%if 0%{?fc18}
%global mpc_provided 0.9
-%global mpfr_provided 3.1.0
-%global gmp_provided 5.0.4
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
%endif
%if 0%{?fc17}
@@ -104,12 +110,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?fc16}
-%global mpc_provided 0.9
-%global mpfr_provided 3.0.0
-%global gmp_provided 4.3.2
-%endif
-
%if 0%{?el6}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -122,6 +122,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 4.1.4
%endif
+%if 0%{?suse12_3}
+%global mpc_provided 1.0
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
+%endif
+
%if 0%{?suse12_2}
%global mpc_provided 0.8.2
%global mpfr_provided 3.1.0
@@ -134,12 +140,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?suse11_4}
-%global mpc_provided 0.8.2
-%global mpfr_provided 3.0.0
-%global gmp_provided 5.0.1
-%endif
-
%if 0%{?cygwin}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -242,13 +242,13 @@ BuildRequires: rtems-4.10-m32r-rtems4.10-gcc = %{gcc_rpmvers}
# For reasons of simplicity, always require them.
BuildRequires: flex bison
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
BuildRequires: rtems-4.10-m32r-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-m32r-rtems4.10-binutils
Requires: rtems-4.10-m32r-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-31%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -353,7 +353,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-30%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-31%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -633,7 +633,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-m32r-rtems4.10-binutils
-# Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+# Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-31%{?dist}
# License: GPL
# %if %build_infos
@@ -651,7 +651,7 @@ Summary: libgcc for m32r-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-31%{?dist}
License: GPL
%description -n rtems-4.10-m32r-rtems4.10-gcc-libgcc
@@ -776,7 +776,7 @@ Summary: C Library (newlib) for m32r-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -797,7 +797,7 @@ Newlib C Library for m32r-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gdb.spec b/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gdb.spec
index 2c83b36..06d33d5 100644
--- a/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gdb.spec
+++ b/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gdb.spec
@@ -52,7 +52,7 @@ Name: rtems-4.10-m32r-rtems4.10-gdb
Summary: Gdb for target m32r-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,8 +62,15 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim
# Whether to build against system readline
-# Default: yes
+# Default: yes, except on EL5
+%if "%{gdb_version}" >= "7.3.91"
+# gdb >= 7.3.91 requires readline6
+# EL5's readline is too old
+%{?el5:%bcond_with system_readline}
+%{!?el5:%bcond_without system_readline}
+%else
%bcond_without system_readline
+%endif
# Whether to build python support
%if "%{_build}" != "%{_host}"
@@ -77,7 +84,7 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim --enable-sim-trace
# suse
-%if "%{?suse}" >= "10.3"
+%if %{defined suse}
BuildRequires: libexpat-devel
%else
# Fedora/CentOS/Cygwin/MinGW
@@ -89,8 +96,8 @@ BuildRequires: %{_host_rpmprefix}ncurses-devel
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
Requires: rtems-4.10-gdb-common
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo}
%if "%{gdb_version}" == "7.2"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
diff --git a/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-binutils.spec b/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-binutils.spec
index 376a400..7199562 100644
--- a/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-binutils.spec
+++ b/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-binutils.spec
@@ -53,7 +53,7 @@ Name: rtems-4.10-m68k-rtems4.10-binutils
Summary: Binutils for target m68k-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,11 +62,11 @@ BuildRequires: %{_host_rpmprefix}gcc
%if "%{binutils_version}" >= "2.18"
# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%else
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%endif
BuildRequires: flex
BuildRequires: bison
diff --git a/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec b/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec
index f5ca165..568883d 100644
--- a/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec
+++ b/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec
@@ -58,7 +58,7 @@ Summary: m68k-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,10 +92,16 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc19}
+%global mpc_provided 1.0.1
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.1.1
+%endif
+
%if 0%{?fc18}
%global mpc_provided 0.9
-%global mpfr_provided 3.1.0
-%global gmp_provided 5.0.4
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
%endif
%if 0%{?fc17}
@@ -104,12 +110,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?fc16}
-%global mpc_provided 0.9
-%global mpfr_provided 3.0.0
-%global gmp_provided 4.3.2
-%endif
-
%if 0%{?el6}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -122,6 +122,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 4.1.4
%endif
+%if 0%{?suse12_3}
+%global mpc_provided 1.0
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
+%endif
+
%if 0%{?suse12_2}
%global mpc_provided 0.8.2
%global mpfr_provided 3.1.0
@@ -134,12 +140,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?suse11_4}
-%global mpc_provided 0.8.2
-%global mpfr_provided 3.0.0
-%global gmp_provided 5.0.1
-%endif
-
%if 0%{?cygwin}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -242,13 +242,13 @@ BuildRequires: rtems-4.10-m68k-rtems4.10-gcc = %{gcc_rpmvers}
# For reasons of simplicity, always require them.
BuildRequires: flex bison
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
BuildRequires: rtems-4.10-m68k-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-m68k-rtems4.10-binutils
Requires: rtems-4.10-m68k-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-31%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -367,7 +367,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-30%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-31%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -648,7 +648,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-m68k-rtems4.10-binutils
-# Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+# Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-31%{?dist}
# License: GPL
# %if %build_infos
@@ -666,7 +666,7 @@ Summary: libgcc for m68k-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-31%{?dist}
License: GPL
%description -n rtems-4.10-m68k-rtems4.10-gcc-libgcc
@@ -851,7 +851,7 @@ Summary: C Library (newlib) for m68k-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -872,7 +872,7 @@ Newlib C Library for m68k-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gdb.spec b/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gdb.spec
index a568217..3850a54 100644
--- a/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gdb.spec
+++ b/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gdb.spec
@@ -52,7 +52,7 @@ Name: rtems-4.10-m68k-rtems4.10-gdb
Summary: Gdb for target m68k-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,8 +62,15 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim
# Whether to build against system readline
-# Default: yes
+# Default: yes, except on EL5
+%if "%{gdb_version}" >= "7.3.91"
+# gdb >= 7.3.91 requires readline6
+# EL5's readline is too old
+%{?el5:%bcond_with system_readline}
+%{!?el5:%bcond_without system_readline}
+%else
%bcond_without system_readline
+%endif
# Whether to build python support
%if "%{_build}" != "%{_host}"
@@ -77,7 +84,7 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim --enable-sim-trace
# suse
-%if "%{?suse}" >= "10.3"
+%if %{defined suse}
BuildRequires: libexpat-devel
%else
# Fedora/CentOS/Cygwin/MinGW
@@ -89,8 +96,8 @@ BuildRequires: %{_host_rpmprefix}ncurses-devel
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
Requires: rtems-4.10-gdb-common
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo}
%if "%{gdb_version}" == "7.2"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
diff --git a/rtems4.10/mips/rtems-4.10-mips-rtems4.10-binutils.spec b/rtems4.10/mips/rtems-4.10-mips-rtems4.10-binutils.spec
index 3f284eb..4c1b4c3 100644
--- a/rtems4.10/mips/rtems-4.10-mips-rtems4.10-binutils.spec
+++ b/rtems4.10/mips/rtems-4.10-mips-rtems4.10-binutils.spec
@@ -53,7 +53,7 @@ Name: rtems-4.10-mips-rtems4.10-binutils
Summary: Binutils for target mips-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,11 +62,11 @@ BuildRequires: %{_host_rpmprefix}gcc
%if "%{binutils_version}" >= "2.18"
# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%else
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%endif
BuildRequires: flex
BuildRequires: bison
diff --git a/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec b/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec
index ac1ba39..8e97521 100644
--- a/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec
+++ b/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec
@@ -58,7 +58,7 @@ Summary: mips-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,10 +92,16 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc19}
+%global mpc_provided 1.0.1
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.1.1
+%endif
+
%if 0%{?fc18}
%global mpc_provided 0.9
-%global mpfr_provided 3.1.0
-%global gmp_provided 5.0.4
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
%endif
%if 0%{?fc17}
@@ -104,12 +110,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?fc16}
-%global mpc_provided 0.9
-%global mpfr_provided 3.0.0
-%global gmp_provided 4.3.2
-%endif
-
%if 0%{?el6}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -122,6 +122,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 4.1.4
%endif
+%if 0%{?suse12_3}
+%global mpc_provided 1.0
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
+%endif
+
%if 0%{?suse12_2}
%global mpc_provided 0.8.2
%global mpfr_provided 3.1.0
@@ -134,12 +140,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?suse11_4}
-%global mpc_provided 0.8.2
-%global mpfr_provided 3.0.0
-%global gmp_provided 5.0.1
-%endif
-
%if 0%{?cygwin}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -242,13 +242,13 @@ BuildRequires: rtems-4.10-mips-rtems4.10-gcc = %{gcc_rpmvers}
# For reasons of simplicity, always require them.
BuildRequires: flex bison
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
BuildRequires: rtems-4.10-mips-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-mips-rtems4.10-binutils
Requires: rtems-4.10-mips-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-31%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -367,7 +367,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-30%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-31%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -648,7 +648,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-mips-rtems4.10-binutils
-# Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+# Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-31%{?dist}
# License: GPL
# %if %build_infos
@@ -666,7 +666,7 @@ Summary: libgcc for mips-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-31%{?dist}
License: GPL
%description -n rtems-4.10-mips-rtems4.10-gcc-libgcc
@@ -851,7 +851,7 @@ Summary: C Library (newlib) for mips-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -872,7 +872,7 @@ Newlib C Library for mips-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gdb.spec b/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gdb.spec
index 7d648ac..5a0d962 100644
--- a/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gdb.spec
+++ b/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gdb.spec
@@ -52,7 +52,7 @@ Name: rtems-4.10-mips-rtems4.10-gdb
Summary: Gdb for target mips-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,8 +62,15 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim
# Whether to build against system readline
-# Default: yes
+# Default: yes, except on EL5
+%if "%{gdb_version}" >= "7.3.91"
+# gdb >= 7.3.91 requires readline6
+# EL5's readline is too old
+%{?el5:%bcond_with system_readline}
+%{!?el5:%bcond_without system_readline}
+%else
%bcond_without system_readline
+%endif
# Whether to build python support
%if "%{_build}" != "%{_host}"
@@ -77,7 +84,7 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim --enable-sim-trace
# suse
-%if "%{?suse}" >= "10.3"
+%if %{defined suse}
BuildRequires: libexpat-devel
%else
# Fedora/CentOS/Cygwin/MinGW
@@ -89,8 +96,8 @@ BuildRequires: %{_host_rpmprefix}ncurses-devel
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
Requires: rtems-4.10-gdb-common
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo}
%if "%{gdb_version}" == "7.2"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
diff --git a/rtems4.10/mipstx39/rtems-4.10-mipstx39-rtems4.10-gdb.spec b/rtems4.10/mipstx39/rtems-4.10-mipstx39-rtems4.10-gdb.spec
index 6347f9f..b049271 100644
--- a/rtems4.10/mipstx39/rtems-4.10-mipstx39-rtems4.10-gdb.spec
+++ b/rtems4.10/mipstx39/rtems-4.10-mipstx39-rtems4.10-gdb.spec
@@ -52,7 +52,7 @@ Name: rtems-4.10-mipstx39-rtems4.10-gdb
Summary: Gdb for target mipstx39-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,8 +62,15 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim
# Whether to build against system readline
-# Default: yes
+# Default: yes, except on EL5
+%if "%{gdb_version}" >= "7.3.91"
+# gdb >= 7.3.91 requires readline6
+# EL5's readline is too old
+%{?el5:%bcond_with system_readline}
+%{!?el5:%bcond_without system_readline}
+%else
%bcond_without system_readline
+%endif
# Whether to build python support
%if "%{_build}" != "%{_host}"
@@ -81,7 +88,7 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
# suse
-%if "%{?suse}" >= "10.3"
+%if %{defined suse}
BuildRequires: libexpat-devel
%else
# Fedora/CentOS/Cygwin/MinGW
@@ -93,8 +100,8 @@ BuildRequires: %{_host_rpmprefix}ncurses-devel
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
Requires: rtems-4.10-gdb-common
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo}
%if "%{gdb_version}" == "7.2"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
diff --git a/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-binutils.spec b/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-binutils.spec
index 70707be..20ac32f 100644
--- a/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-binutils.spec
+++ b/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-binutils.spec
@@ -53,7 +53,7 @@ Name: rtems-4.10-powerpc-rtems4.10-binutils
Summary: Binutils for target powerpc-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,11 +62,11 @@ BuildRequires: %{_host_rpmprefix}gcc
%if "%{binutils_version}" >= "2.18"
# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%else
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%endif
BuildRequires: flex
BuildRequires: bison
diff --git a/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec b/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec
index f320bcc..8d16428 100644
--- a/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec
+++ b/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec
@@ -58,7 +58,7 @@ Summary: powerpc-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,10 +92,16 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc19}
+%global mpc_provided 1.0.1
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.1.1
+%endif
+
%if 0%{?fc18}
%global mpc_provided 0.9
-%global mpfr_provided 3.1.0
-%global gmp_provided 5.0.4
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
%endif
%if 0%{?fc17}
@@ -104,12 +110,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?fc16}
-%global mpc_provided 0.9
-%global mpfr_provided 3.0.0
-%global gmp_provided 4.3.2
-%endif
-
%if 0%{?el6}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -122,6 +122,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 4.1.4
%endif
+%if 0%{?suse12_3}
+%global mpc_provided 1.0
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
+%endif
+
%if 0%{?suse12_2}
%global mpc_provided 0.8.2
%global mpfr_provided 3.1.0
@@ -134,12 +140,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?suse11_4}
-%global mpc_provided 0.8.2
-%global mpfr_provided 3.0.0
-%global gmp_provided 5.0.1
-%endif
-
%if 0%{?cygwin}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -242,13 +242,13 @@ BuildRequires: rtems-4.10-powerpc-rtems4.10-gcc = %{gcc_rpmvers}
# For reasons of simplicity, always require them.
BuildRequires: flex bison
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
BuildRequires: rtems-4.10-powerpc-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-powerpc-rtems4.10-binutils
Requires: rtems-4.10-powerpc-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-31%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -367,7 +367,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-30%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-31%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -648,7 +648,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-powerpc-rtems4.10-binutils
-# Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+# Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-31%{?dist}
# License: GPL
# %if %build_infos
@@ -666,7 +666,7 @@ Summary: libgcc for powerpc-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-31%{?dist}
License: GPL
%description -n rtems-4.10-powerpc-rtems4.10-gcc-libgcc
@@ -851,7 +851,7 @@ Summary: C Library (newlib) for powerpc-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -872,7 +872,7 @@ Newlib C Library for powerpc-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec b/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec
index 23639c3..4939608 100644
--- a/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec
+++ b/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec
@@ -52,7 +52,7 @@ Name: rtems-4.10-powerpc-rtems4.10-gdb
Summary: Gdb for target powerpc-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,8 +62,15 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim
# Whether to build against system readline
-# Default: yes
+# Default: yes, except on EL5
+%if "%{gdb_version}" >= "7.3.91"
+# gdb >= 7.3.91 requires readline6
+# EL5's readline is too old
+%{?el5:%bcond_with system_readline}
+%{!?el5:%bcond_without system_readline}
+%else
%bcond_without system_readline
+%endif
# Whether to build python support
%if "%{_build}" != "%{_host}"
@@ -82,7 +89,7 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
# suse
-%if "%{?suse}" >= "10.3"
+%if %{defined suse}
BuildRequires: libexpat-devel
%else
# Fedora/CentOS/Cygwin/MinGW
@@ -94,8 +101,8 @@ BuildRequires: %{_host_rpmprefix}ncurses-devel
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
Requires: rtems-4.10-gdb-common
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo}
%if "%{gdb_version}" == "7.2"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
diff --git a/rtems4.10/sh/rtems-4.10-sh-rtems4.10-binutils.spec b/rtems4.10/sh/rtems-4.10-sh-rtems4.10-binutils.spec
index 6591964..e9ee3c3 100644
--- a/rtems4.10/sh/rtems-4.10-sh-rtems4.10-binutils.spec
+++ b/rtems4.10/sh/rtems-4.10-sh-rtems4.10-binutils.spec
@@ -53,7 +53,7 @@ Name: rtems-4.10-sh-rtems4.10-binutils
Summary: Binutils for target sh-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,11 +62,11 @@ BuildRequires: %{_host_rpmprefix}gcc
%if "%{binutils_version}" >= "2.18"
# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%else
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%endif
BuildRequires: flex
BuildRequires: bison
diff --git a/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec b/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec
index 5d57986..d3821f8 100644
--- a/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec
+++ b/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec
@@ -58,7 +58,7 @@ Summary: sh-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,10 +92,16 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc19}
+%global mpc_provided 1.0.1
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.1.1
+%endif
+
%if 0%{?fc18}
%global mpc_provided 0.9
-%global mpfr_provided 3.1.0
-%global gmp_provided 5.0.4
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
%endif
%if 0%{?fc17}
@@ -104,12 +110,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?fc16}
-%global mpc_provided 0.9
-%global mpfr_provided 3.0.0
-%global gmp_provided 4.3.2
-%endif
-
%if 0%{?el6}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -122,6 +122,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 4.1.4
%endif
+%if 0%{?suse12_3}
+%global mpc_provided 1.0
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
+%endif
+
%if 0%{?suse12_2}
%global mpc_provided 0.8.2
%global mpfr_provided 3.1.0
@@ -134,12 +140,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?suse11_4}
-%global mpc_provided 0.8.2
-%global mpfr_provided 3.0.0
-%global gmp_provided 5.0.1
-%endif
-
%if 0%{?cygwin}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -242,13 +242,13 @@ BuildRequires: rtems-4.10-sh-rtems4.10-gcc = %{gcc_rpmvers}
# For reasons of simplicity, always require them.
BuildRequires: flex bison
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
BuildRequires: rtems-4.10-sh-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-sh-rtems4.10-binutils
Requires: rtems-4.10-sh-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-31%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -367,7 +367,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-30%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-31%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -648,7 +648,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-sh-rtems4.10-binutils
-# Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+# Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-31%{?dist}
# License: GPL
# %if %build_infos
@@ -666,7 +666,7 @@ Summary: libgcc for sh-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-31%{?dist}
License: GPL
%description -n rtems-4.10-sh-rtems4.10-gcc-libgcc
@@ -851,7 +851,7 @@ Summary: C Library (newlib) for sh-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -872,7 +872,7 @@ Newlib C Library for sh-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gdb.spec b/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gdb.spec
index 4a8571b..35517d6 100644
--- a/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gdb.spec
+++ b/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gdb.spec
@@ -52,7 +52,7 @@ Name: rtems-4.10-sh-rtems4.10-gdb
Summary: Gdb for target sh-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,8 +62,15 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim
# Whether to build against system readline
-# Default: yes
+# Default: yes, except on EL5
+%if "%{gdb_version}" >= "7.3.91"
+# gdb >= 7.3.91 requires readline6
+# EL5's readline is too old
+%{?el5:%bcond_with system_readline}
+%{!?el5:%bcond_without system_readline}
+%else
%bcond_without system_readline
+%endif
# Whether to build python support
%if "%{_build}" != "%{_host}"
@@ -77,7 +84,7 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim --enable-sim-trace
# suse
-%if "%{?suse}" >= "10.3"
+%if %{defined suse}
BuildRequires: libexpat-devel
%else
# Fedora/CentOS/Cygwin/MinGW
@@ -89,8 +96,8 @@ BuildRequires: %{_host_rpmprefix}ncurses-devel
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
Requires: rtems-4.10-gdb-common
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo}
%if "%{gdb_version}" == "7.2"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
diff --git a/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-binutils.spec b/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-binutils.spec
index abed68e..6b295ba 100644
--- a/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-binutils.spec
+++ b/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-binutils.spec
@@ -53,7 +53,7 @@ Name: rtems-4.10-sparc-rtems4.10-binutils
Summary: Binutils for target sparc-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,11 +62,11 @@ BuildRequires: %{_host_rpmprefix}gcc
%if "%{binutils_version}" >= "2.18"
# Bug in bfd: Doesn't build without texinfo installed
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%else
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
%endif
BuildRequires: flex
BuildRequires: bison
diff --git a/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec b/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec
index 62f8303..29675b5 100644
--- a/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec
+++ b/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec
@@ -58,7 +58,7 @@ Summary: sparc-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,10 +92,16 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc19}
+%global mpc_provided 1.0.1
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.1.1
+%endif
+
%if 0%{?fc18}
%global mpc_provided 0.9
-%global mpfr_provided 3.1.0
-%global gmp_provided 5.0.4
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
%endif
%if 0%{?fc17}
@@ -104,12 +110,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?fc16}
-%global mpc_provided 0.9
-%global mpfr_provided 3.0.0
-%global gmp_provided 4.3.2
-%endif
-
%if 0%{?el6}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -122,6 +122,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 4.1.4
%endif
+%if 0%{?suse12_3}
+%global mpc_provided 1.0
+%global mpfr_provided 3.1.1
+%global gmp_provided 5.0.5
+%endif
+
%if 0%{?suse12_2}
%global mpc_provided 0.8.2
%global mpfr_provided 3.1.0
@@ -134,12 +140,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 5.0.2
%endif
-%if 0%{?suse11_4}
-%global mpc_provided 0.8.2
-%global mpfr_provided 3.0.0
-%global gmp_provided 5.0.1
-%endif
-
%if 0%{?cygwin}
%global mpc_provided 0.8
%global mpfr_provided 2.4.1
@@ -242,13 +242,13 @@ BuildRequires: rtems-4.10-sparc-rtems4.10-gcc = %{gcc_rpmvers}
# For reasons of simplicity, always require them.
BuildRequires: flex bison
-BuildRequires: texinfo >= 4.2
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo} >= 4.2
BuildRequires: rtems-4.10-sparc-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-sparc-rtems4.10-binutils
Requires: rtems-4.10-sparc-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-31%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -367,7 +367,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-30%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-31%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -648,7 +648,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-sparc-rtems4.10-binutils
-# Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+# Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-31%{?dist}
# License: GPL
# %if %build_infos
@@ -666,7 +666,7 @@ Summary: libgcc for sparc-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-30%{?dist}
+Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-31%{?dist}
License: GPL
%description -n rtems-4.10-sparc-rtems4.10-gcc-libgcc
@@ -851,7 +851,7 @@ Summary: C Library (newlib) for sparc-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -872,7 +872,7 @@ Newlib C Library for sparc-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 30%{?dist}
+Release: 31%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gdb.spec b/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gdb.spec
index dd5772c..8a34932 100644
--- a/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gdb.spec
+++ b/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gdb.spec
@@ -52,7 +52,7 @@ Name: rtems-4.10-sparc-rtems4.10-gdb
Summary: Gdb for target sparc-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,8 +62,15 @@ BuildRequires: %{_host_rpmprefix}gcc
%global build_sim --enable-sim
# Whether to build against system readline
-# Default: yes
+# Default: yes, except on EL5
+%if "%{gdb_version}" >= "7.3.91"
+# gdb >= 7.3.91 requires readline6
+# EL5's readline is too old
+%{?el5:%bcond_with system_readline}
+%{!?el5:%bcond_without system_readline}
+%else
%bcond_without system_readline
+%endif
# Whether to build python support
%if "%{_build}" != "%{_host}"
@@ -81,7 +88,7 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
# suse
-%if "%{?suse}" >= "10.3"
+%if %{defined suse}
BuildRequires: libexpat-devel
%else
# Fedora/CentOS/Cygwin/MinGW
@@ -93,8 +100,8 @@ BuildRequires: %{_host_rpmprefix}ncurses-devel
# Required for building the infos
BuildRequires: /sbin/install-info
-BuildRequires: texinfo >= 4.2
Requires: rtems-4.10-gdb-common
+BuildRequires: %{?suse:makeinfo}%{!?suse:texinfo}
%if "%{gdb_version}" == "7.2"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
More information about the vc
mailing list