summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-09-05 05:10:06 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-09-05 05:10:06 +0000
commit757e5de0df14bfc0ed1264e3873d3d9ec9f28f23 (patch)
treefee7dd45654afa8342bb95ecbad94fa75c98c442 /contrib
parentBump GDB_RPMREL = 2. (diff)
downloadrtems-757e5de0df14bfc0ed1264e3873d3d9ec9f28f23.tar.bz2
Activate python.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gdb.spec16
-rw-r--r--contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gdb.spec16
-rw-r--r--contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gdb.spec14
-rw-r--r--contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gdb.spec16
-rw-r--r--contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gdb.spec16
-rw-r--r--contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gdb.spec16
-rw-r--r--contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec16
-rw-r--r--contrib/crossrpms/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gdb.spec16
-rw-r--r--contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gdb.spec16
-rw-r--r--contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gdb.spec16
-rw-r--r--contrib/crossrpms/rtems4.10/mipstx39/rtems-4.10-mipstx39-rtems4.10-gdb.spec16
-rw-r--r--contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec16
-rw-r--r--contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gdb.spec16
-rw-r--r--contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gdb.spec16
14 files changed, 209 insertions, 13 deletions
diff --git a/contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gdb.spec
index b244c49903..1cde83788d 100644
--- a/contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gdb.spec
+++ b/contrib/crossrpms/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: 1%{?dist}
+Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -106,6 +106,16 @@ BuildRequires: %{_host_rpmprefix}termcap-devel
BuildRequires: %{_host_rpmprefix}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-devel
+%if "%{gdb_version}" >= "6.8.50"
+%if "%{_build}" != "%{_host}"
+# Can't build python Cdn-X
+%bcond_with python
+%else
+%bcond_without python
+%endif
+%endif
+%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
+
# Required for building the infos
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
@@ -155,8 +165,12 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \
%endif
%if "%{gdb_version}" >= "6.8.50"
+%if %{with python}
+ --with-python \
+%else
--without-python \
%endif
+%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}
diff --git a/contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gdb.spec
index 3ed3549cfe..396e435c7c 100644
--- a/contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gdb.spec
+++ b/contrib/crossrpms/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: 1%{?dist}
+Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -106,6 +106,16 @@ BuildRequires: %{_host_rpmprefix}termcap-devel
BuildRequires: %{_host_rpmprefix}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-devel
+%if "%{gdb_version}" >= "6.8.50"
+%if "%{_build}" != "%{_host}"
+# Can't build python Cdn-X
+%bcond_with python
+%else
+%bcond_without python
+%endif
+%endif
+%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
+
# Required for building the infos
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
@@ -155,8 +165,12 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \
%endif
%if "%{gdb_version}" >= "6.8.50"
+%if %{with python}
+ --with-python \
+%else
--without-python \
%endif
+%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}
diff --git a/contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gdb.spec
index 70cb29ba18..43b77801a4 100644
--- a/contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gdb.spec
+++ b/contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gdb.spec
@@ -106,6 +106,16 @@ BuildRequires: %{_host_rpmprefix}termcap-devel
BuildRequires: %{_host_rpmprefix}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-devel
+%if "%{gdb_version}" >= "6.8.50"
+%if "%{_build}" != "%{_host}"
+# Can't build python Cdn-X
+%bcond_with python
+%else
+%bcond_without python
+%endif
+%endif
+%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
+
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
@@ -149,8 +159,12 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \
%endif
%if "%{gdb_version}" >= "6.8.50"
+%if %{with python}
+ --with-python \
+%else
--without-python \
%endif
+%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}
diff --git a/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gdb.spec
index ce6f93cb3a..cc2e91a6e3 100644
--- a/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gdb.spec
+++ b/contrib/crossrpms/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: 1%{?dist}
+Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -106,6 +106,16 @@ BuildRequires: %{_host_rpmprefix}termcap-devel
BuildRequires: %{_host_rpmprefix}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-devel
+%if "%{gdb_version}" >= "6.8.50"
+%if "%{_build}" != "%{_host}"
+# Can't build python Cdn-X
+%bcond_with python
+%else
+%bcond_without python
+%endif
+%endif
+%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
+
# Required for building the infos
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
@@ -155,8 +165,12 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \
%endif
%if "%{gdb_version}" >= "6.8.50"
+%if %{with python}
+ --with-python \
+%else
--without-python \
%endif
+%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}
diff --git a/contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gdb.spec
index 1330b98210..c18ee7de7c 100644
--- a/contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gdb.spec
+++ b/contrib/crossrpms/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: 1%{?dist}
+Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -106,6 +106,16 @@ BuildRequires: %{_host_rpmprefix}termcap-devel
BuildRequires: %{_host_rpmprefix}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-devel
+%if "%{gdb_version}" >= "6.8.50"
+%if "%{_build}" != "%{_host}"
+# Can't build python Cdn-X
+%bcond_with python
+%else
+%bcond_without python
+%endif
+%endif
+%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
+
# Required for building the infos
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
@@ -155,8 +165,12 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \
%endif
%if "%{gdb_version}" >= "6.8.50"
+%if %{with python}
+ --with-python \
+%else
--without-python \
%endif
+%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}
diff --git a/contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gdb.spec
index 13eb8bdbe2..0a64dcc7de 100644
--- a/contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gdb.spec
+++ b/contrib/crossrpms/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: 1%{?dist}
+Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -106,6 +106,16 @@ BuildRequires: %{_host_rpmprefix}termcap-devel
BuildRequires: %{_host_rpmprefix}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-devel
+%if "%{gdb_version}" >= "6.8.50"
+%if "%{_build}" != "%{_host}"
+# Can't build python Cdn-X
+%bcond_with python
+%else
+%bcond_without python
+%endif
+%endif
+%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
+
# Required for building the infos
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
@@ -155,8 +165,12 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \
%endif
%if "%{gdb_version}" >= "6.8.50"
+%if %{with python}
+ --with-python \
+%else
--without-python \
%endif
+%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}
diff --git a/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec
index 9f9eaa335f..4a62e22f6f 100644
--- a/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec
+++ b/contrib/crossrpms/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: 1%{?dist}
+Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -106,6 +106,16 @@ BuildRequires: %{_host_rpmprefix}termcap-devel
BuildRequires: %{_host_rpmprefix}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-devel
+%if "%{gdb_version}" >= "6.8.50"
+%if "%{_build}" != "%{_host}"
+# Can't build python Cdn-X
+%bcond_with python
+%else
+%bcond_without python
+%endif
+%endif
+%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
+
# Required for building the infos
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
@@ -155,8 +165,12 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \
%endif
%if "%{gdb_version}" >= "6.8.50"
+%if %{with python}
+ --with-python \
+%else
--without-python \
%endif
+%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}
diff --git a/contrib/crossrpms/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gdb.spec
index 1246daa216..35bc80e7b2 100644
--- a/contrib/crossrpms/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gdb.spec
+++ b/contrib/crossrpms/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: 1%{?dist}
+Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -106,6 +106,16 @@ BuildRequires: %{_host_rpmprefix}termcap-devel
BuildRequires: %{_host_rpmprefix}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-devel
+%if "%{gdb_version}" >= "6.8.50"
+%if "%{_build}" != "%{_host}"
+# Can't build python Cdn-X
+%bcond_with python
+%else
+%bcond_without python
+%endif
+%endif
+%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
+
# Required for building the infos
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
@@ -155,8 +165,12 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \
%endif
%if "%{gdb_version}" >= "6.8.50"
+%if %{with python}
+ --with-python \
+%else
--without-python \
%endif
+%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}
diff --git a/contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gdb.spec
index c35e0ce66a..77be2f048d 100644
--- a/contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gdb.spec
+++ b/contrib/crossrpms/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: 1%{?dist}
+Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -106,6 +106,16 @@ BuildRequires: %{_host_rpmprefix}termcap-devel
BuildRequires: %{_host_rpmprefix}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-devel
+%if "%{gdb_version}" >= "6.8.50"
+%if "%{_build}" != "%{_host}"
+# Can't build python Cdn-X
+%bcond_with python
+%else
+%bcond_without python
+%endif
+%endif
+%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
+
# Required for building the infos
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
@@ -155,8 +165,12 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \
%endif
%if "%{gdb_version}" >= "6.8.50"
+%if %{with python}
+ --with-python \
+%else
--without-python \
%endif
+%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}
diff --git a/contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gdb.spec
index a4c687b748..3cb18cbeac 100644
--- a/contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gdb.spec
+++ b/contrib/crossrpms/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: 1%{?dist}
+Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -106,6 +106,16 @@ BuildRequires: %{_host_rpmprefix}termcap-devel
BuildRequires: %{_host_rpmprefix}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-devel
+%if "%{gdb_version}" >= "6.8.50"
+%if "%{_build}" != "%{_host}"
+# Can't build python Cdn-X
+%bcond_with python
+%else
+%bcond_without python
+%endif
+%endif
+%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
+
# Required for building the infos
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
@@ -155,8 +165,12 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \
%endif
%if "%{gdb_version}" >= "6.8.50"
+%if %{with python}
+ --with-python \
+%else
--without-python \
%endif
+%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}
diff --git a/contrib/crossrpms/rtems4.10/mipstx39/rtems-4.10-mipstx39-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/mipstx39/rtems-4.10-mipstx39-rtems4.10-gdb.spec
index 967d2091b2..6e58bb38f3 100644
--- a/contrib/crossrpms/rtems4.10/mipstx39/rtems-4.10-mipstx39-rtems4.10-gdb.spec
+++ b/contrib/crossrpms/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: 1%{?dist}
+Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -106,6 +106,16 @@ BuildRequires: %{_host_rpmprefix}termcap-devel
BuildRequires: %{_host_rpmprefix}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-devel
+%if "%{gdb_version}" >= "6.8.50"
+%if "%{_build}" != "%{_host}"
+# Can't build python Cdn-X
+%bcond_with python
+%else
+%bcond_without python
+%endif
+%endif
+%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
+
# Required for building the infos
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
@@ -155,8 +165,12 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \
%endif
%if "%{gdb_version}" >= "6.8.50"
+%if %{with python}
+ --with-python \
+%else
--without-python \
%endif
+%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}
diff --git a/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec
index 03cd86b6b0..fe504115e6 100644
--- a/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec
+++ b/contrib/crossrpms/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: 1%{?dist}
+Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -106,6 +106,16 @@ BuildRequires: %{_host_rpmprefix}termcap-devel
BuildRequires: %{_host_rpmprefix}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-devel
+%if "%{gdb_version}" >= "6.8.50"
+%if "%{_build}" != "%{_host}"
+# Can't build python Cdn-X
+%bcond_with python
+%else
+%bcond_without python
+%endif
+%endif
+%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
+
# Required for building the infos
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
@@ -155,8 +165,12 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \
%endif
%if "%{gdb_version}" >= "6.8.50"
+%if %{with python}
+ --with-python \
+%else
--without-python \
%endif
+%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}
diff --git a/contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gdb.spec
index e536558a71..9c02057000 100644
--- a/contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gdb.spec
+++ b/contrib/crossrpms/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: 1%{?dist}
+Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -106,6 +106,16 @@ BuildRequires: %{_host_rpmprefix}termcap-devel
BuildRequires: %{_host_rpmprefix}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-devel
+%if "%{gdb_version}" >= "6.8.50"
+%if "%{_build}" != "%{_host}"
+# Can't build python Cdn-X
+%bcond_with python
+%else
+%bcond_without python
+%endif
+%endif
+%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
+
# Required for building the infos
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
@@ -155,8 +165,12 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \
%endif
%if "%{gdb_version}" >= "6.8.50"
+%if %{with python}
+ --with-python \
+%else
--without-python \
%endif
+%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}
diff --git a/contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gdb.spec
index 9188d53093..b3d3ac1c0d 100644
--- a/contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gdb.spec
+++ b/contrib/crossrpms/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: 1%{?dist}
+Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -106,6 +106,16 @@ BuildRequires: %{_host_rpmprefix}termcap-devel
BuildRequires: %{_host_rpmprefix}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-devel
+%if "%{gdb_version}" >= "6.8.50"
+%if "%{_build}" != "%{_host}"
+# Can't build python Cdn-X
+%bcond_with python
+%else
+%bcond_without python
+%endif
+%endif
+%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
+
# Required for building the infos
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
@@ -155,8 +165,12 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \
%endif
%if "%{gdb_version}" >= "6.8.50"
+%if %{with python}
+ --with-python \
+%else
--without-python \
%endif
+%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}