Activate python.

This commit is contained in:
Ralf Corsepius
2009-09-05 05:10:06 +00:00
parent 7b05a7abe5
commit 757e5de0df
14 changed files with 209 additions and 13 deletions

View File

@@ -52,7 +52,7 @@ Name: rtems-4.10-arm-rtems4.10-gdb
Summary: Gdb for target arm-rtems4.10 Summary: Gdb for target arm-rtems4.10
Group: Development/Tools Group: Development/Tools
Version: %{gdb_rpmvers} Version: %{gdb_rpmvers}
Release: 1%{?dist} Release: 2%{?dist}
License: GPL/LGPL License: GPL/LGPL
URL: http://sources.redhat.com/gdb URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-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 # Required for building the infos
BuildRequires: /sbin/install-info BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2 BuildRequires: texinfo >= 4.2
@@ -155,7 +165,11 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \ --with-expat \
%endif %endif
%if "%{gdb_version}" >= "6.8.50" %if "%{gdb_version}" >= "6.8.50"
%if %{with python}
--with-python \
%else
--without-python \ --without-python \
%endif
%endif %endif
--prefix=%{_prefix} --bindir=%{_bindir} \ --prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \ --includedir=%{_includedir} --libdir=%{_libdir} \

View File

@@ -52,7 +52,7 @@ Name: rtems-4.10-avr-rtems4.10-gdb
Summary: Gdb for target avr-rtems4.10 Summary: Gdb for target avr-rtems4.10
Group: Development/Tools Group: Development/Tools
Version: %{gdb_rpmvers} Version: %{gdb_rpmvers}
Release: 1%{?dist} Release: 2%{?dist}
License: GPL/LGPL License: GPL/LGPL
URL: http://sources.redhat.com/gdb URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-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 # Required for building the infos
BuildRequires: /sbin/install-info BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2 BuildRequires: texinfo >= 4.2
@@ -155,7 +165,11 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \ --with-expat \
%endif %endif
%if "%{gdb_version}" >= "6.8.50" %if "%{gdb_version}" >= "6.8.50"
%if %{with python}
--with-python \
%else
--without-python \ --without-python \
%endif
%endif %endif
--prefix=%{_prefix} --bindir=%{_bindir} \ --prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \ --includedir=%{_includedir} --libdir=%{_libdir} \

View File

@@ -106,6 +106,16 @@ BuildRequires: %{_host_rpmprefix}termcap-devel
BuildRequires: %{_host_rpmprefix}readline-devel BuildRequires: %{_host_rpmprefix}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-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 Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
@@ -149,7 +159,11 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \ --with-expat \
%endif %endif
%if "%{gdb_version}" >= "6.8.50" %if "%{gdb_version}" >= "6.8.50"
%if %{with python}
--with-python \
%else
--without-python \ --without-python \
%endif
%endif %endif
--prefix=%{_prefix} --bindir=%{_bindir} \ --prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \ --includedir=%{_includedir} --libdir=%{_libdir} \

View File

@@ -52,7 +52,7 @@ Name: rtems-4.10-h8300-rtems4.10-gdb
Summary: Gdb for target h8300-rtems4.10 Summary: Gdb for target h8300-rtems4.10
Group: Development/Tools Group: Development/Tools
Version: %{gdb_rpmvers} Version: %{gdb_rpmvers}
Release: 1%{?dist} Release: 2%{?dist}
License: GPL/LGPL License: GPL/LGPL
URL: http://sources.redhat.com/gdb URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-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 # Required for building the infos
BuildRequires: /sbin/install-info BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2 BuildRequires: texinfo >= 4.2
@@ -155,7 +165,11 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \ --with-expat \
%endif %endif
%if "%{gdb_version}" >= "6.8.50" %if "%{gdb_version}" >= "6.8.50"
%if %{with python}
--with-python \
%else
--without-python \ --without-python \
%endif
%endif %endif
--prefix=%{_prefix} --bindir=%{_bindir} \ --prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \ --includedir=%{_includedir} --libdir=%{_libdir} \

View File

@@ -52,7 +52,7 @@ Name: rtems-4.10-i386-rtems4.10-gdb
Summary: Gdb for target i386-rtems4.10 Summary: Gdb for target i386-rtems4.10
Group: Development/Tools Group: Development/Tools
Version: %{gdb_rpmvers} Version: %{gdb_rpmvers}
Release: 1%{?dist} Release: 2%{?dist}
License: GPL/LGPL License: GPL/LGPL
URL: http://sources.redhat.com/gdb URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-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 # Required for building the infos
BuildRequires: /sbin/install-info BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2 BuildRequires: texinfo >= 4.2
@@ -155,7 +165,11 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \ --with-expat \
%endif %endif
%if "%{gdb_version}" >= "6.8.50" %if "%{gdb_version}" >= "6.8.50"
%if %{with python}
--with-python \
%else
--without-python \ --without-python \
%endif
%endif %endif
--prefix=%{_prefix} --bindir=%{_bindir} \ --prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \ --includedir=%{_includedir} --libdir=%{_libdir} \

View File

@@ -52,7 +52,7 @@ Name: rtems-4.10-lm32-rtems4.10-gdb
Summary: Gdb for target lm32-rtems4.10 Summary: Gdb for target lm32-rtems4.10
Group: Development/Tools Group: Development/Tools
Version: %{gdb_rpmvers} Version: %{gdb_rpmvers}
Release: 1%{?dist} Release: 2%{?dist}
License: GPL/LGPL License: GPL/LGPL
URL: http://sources.redhat.com/gdb URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-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 # Required for building the infos
BuildRequires: /sbin/install-info BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2 BuildRequires: texinfo >= 4.2
@@ -155,7 +165,11 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \ --with-expat \
%endif %endif
%if "%{gdb_version}" >= "6.8.50" %if "%{gdb_version}" >= "6.8.50"
%if %{with python}
--with-python \
%else
--without-python \ --without-python \
%endif
%endif %endif
--prefix=%{_prefix} --bindir=%{_bindir} \ --prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \ --includedir=%{_includedir} --libdir=%{_libdir} \

View File

@@ -52,7 +52,7 @@ Name: rtems-4.10-m32c-rtems4.10-gdb
Summary: Gdb for target m32c-rtems4.10 Summary: Gdb for target m32c-rtems4.10
Group: Development/Tools Group: Development/Tools
Version: %{gdb_rpmvers} Version: %{gdb_rpmvers}
Release: 1%{?dist} Release: 2%{?dist}
License: GPL/LGPL License: GPL/LGPL
URL: http://sources.redhat.com/gdb URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-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 # Required for building the infos
BuildRequires: /sbin/install-info BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2 BuildRequires: texinfo >= 4.2
@@ -155,7 +165,11 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \ --with-expat \
%endif %endif
%if "%{gdb_version}" >= "6.8.50" %if "%{gdb_version}" >= "6.8.50"
%if %{with python}
--with-python \
%else
--without-python \ --without-python \
%endif
%endif %endif
--prefix=%{_prefix} --bindir=%{_bindir} \ --prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \ --includedir=%{_includedir} --libdir=%{_libdir} \

View File

@@ -52,7 +52,7 @@ Name: rtems-4.10-m32r-rtems4.10-gdb
Summary: Gdb for target m32r-rtems4.10 Summary: Gdb for target m32r-rtems4.10
Group: Development/Tools Group: Development/Tools
Version: %{gdb_rpmvers} Version: %{gdb_rpmvers}
Release: 1%{?dist} Release: 2%{?dist}
License: GPL/LGPL License: GPL/LGPL
URL: http://sources.redhat.com/gdb URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-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 # Required for building the infos
BuildRequires: /sbin/install-info BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2 BuildRequires: texinfo >= 4.2
@@ -155,7 +165,11 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \ --with-expat \
%endif %endif
%if "%{gdb_version}" >= "6.8.50" %if "%{gdb_version}" >= "6.8.50"
%if %{with python}
--with-python \
%else
--without-python \ --without-python \
%endif
%endif %endif
--prefix=%{_prefix} --bindir=%{_bindir} \ --prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \ --includedir=%{_includedir} --libdir=%{_libdir} \

View File

@@ -52,7 +52,7 @@ Name: rtems-4.10-m68k-rtems4.10-gdb
Summary: Gdb for target m68k-rtems4.10 Summary: Gdb for target m68k-rtems4.10
Group: Development/Tools Group: Development/Tools
Version: %{gdb_rpmvers} Version: %{gdb_rpmvers}
Release: 1%{?dist} Release: 2%{?dist}
License: GPL/LGPL License: GPL/LGPL
URL: http://sources.redhat.com/gdb URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-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 # Required for building the infos
BuildRequires: /sbin/install-info BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2 BuildRequires: texinfo >= 4.2
@@ -155,7 +165,11 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \ --with-expat \
%endif %endif
%if "%{gdb_version}" >= "6.8.50" %if "%{gdb_version}" >= "6.8.50"
%if %{with python}
--with-python \
%else
--without-python \ --without-python \
%endif
%endif %endif
--prefix=%{_prefix} --bindir=%{_bindir} \ --prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \ --includedir=%{_includedir} --libdir=%{_libdir} \

View File

@@ -52,7 +52,7 @@ Name: rtems-4.10-mips-rtems4.10-gdb
Summary: Gdb for target mips-rtems4.10 Summary: Gdb for target mips-rtems4.10
Group: Development/Tools Group: Development/Tools
Version: %{gdb_rpmvers} Version: %{gdb_rpmvers}
Release: 1%{?dist} Release: 2%{?dist}
License: GPL/LGPL License: GPL/LGPL
URL: http://sources.redhat.com/gdb URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-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 # Required for building the infos
BuildRequires: /sbin/install-info BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2 BuildRequires: texinfo >= 4.2
@@ -155,7 +165,11 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \ --with-expat \
%endif %endif
%if "%{gdb_version}" >= "6.8.50" %if "%{gdb_version}" >= "6.8.50"
%if %{with python}
--with-python \
%else
--without-python \ --without-python \
%endif
%endif %endif
--prefix=%{_prefix} --bindir=%{_bindir} \ --prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \ --includedir=%{_includedir} --libdir=%{_libdir} \

View File

@@ -52,7 +52,7 @@ Name: rtems-4.10-mipstx39-rtems4.10-gdb
Summary: Gdb for target mipstx39-rtems4.10 Summary: Gdb for target mipstx39-rtems4.10
Group: Development/Tools Group: Development/Tools
Version: %{gdb_rpmvers} Version: %{gdb_rpmvers}
Release: 1%{?dist} Release: 2%{?dist}
License: GPL/LGPL License: GPL/LGPL
URL: http://sources.redhat.com/gdb URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-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 # Required for building the infos
BuildRequires: /sbin/install-info BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2 BuildRequires: texinfo >= 4.2
@@ -155,7 +165,11 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \ --with-expat \
%endif %endif
%if "%{gdb_version}" >= "6.8.50" %if "%{gdb_version}" >= "6.8.50"
%if %{with python}
--with-python \
%else
--without-python \ --without-python \
%endif
%endif %endif
--prefix=%{_prefix} --bindir=%{_bindir} \ --prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \ --includedir=%{_includedir} --libdir=%{_libdir} \

View File

@@ -52,7 +52,7 @@ Name: rtems-4.10-powerpc-rtems4.10-gdb
Summary: Gdb for target powerpc-rtems4.10 Summary: Gdb for target powerpc-rtems4.10
Group: Development/Tools Group: Development/Tools
Version: %{gdb_rpmvers} Version: %{gdb_rpmvers}
Release: 1%{?dist} Release: 2%{?dist}
License: GPL/LGPL License: GPL/LGPL
URL: http://sources.redhat.com/gdb URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-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 # Required for building the infos
BuildRequires: /sbin/install-info BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2 BuildRequires: texinfo >= 4.2
@@ -155,7 +165,11 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \ --with-expat \
%endif %endif
%if "%{gdb_version}" >= "6.8.50" %if "%{gdb_version}" >= "6.8.50"
%if %{with python}
--with-python \
%else
--without-python \ --without-python \
%endif
%endif %endif
--prefix=%{_prefix} --bindir=%{_bindir} \ --prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \ --includedir=%{_includedir} --libdir=%{_libdir} \

View File

@@ -52,7 +52,7 @@ Name: rtems-4.10-sh-rtems4.10-gdb
Summary: Gdb for target sh-rtems4.10 Summary: Gdb for target sh-rtems4.10
Group: Development/Tools Group: Development/Tools
Version: %{gdb_rpmvers} Version: %{gdb_rpmvers}
Release: 1%{?dist} Release: 2%{?dist}
License: GPL/LGPL License: GPL/LGPL
URL: http://sources.redhat.com/gdb URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-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 # Required for building the infos
BuildRequires: /sbin/install-info BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2 BuildRequires: texinfo >= 4.2
@@ -155,7 +165,11 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \ --with-expat \
%endif %endif
%if "%{gdb_version}" >= "6.8.50" %if "%{gdb_version}" >= "6.8.50"
%if %{with python}
--with-python \
%else
--without-python \ --without-python \
%endif
%endif %endif
--prefix=%{_prefix} --bindir=%{_bindir} \ --prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \ --includedir=%{_includedir} --libdir=%{_libdir} \

View File

@@ -52,7 +52,7 @@ Name: rtems-4.10-sparc-rtems4.10-gdb
Summary: Gdb for target sparc-rtems4.10 Summary: Gdb for target sparc-rtems4.10
Group: Development/Tools Group: Development/Tools
Version: %{gdb_rpmvers} Version: %{gdb_rpmvers}
Release: 1%{?dist} Release: 2%{?dist}
License: GPL/LGPL License: GPL/LGPL
URL: http://sources.redhat.com/gdb URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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}readline-devel
BuildRequires: %{_host_rpmprefix}ncurses-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 # Required for building the infos
BuildRequires: /sbin/install-info BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2 BuildRequires: texinfo >= 4.2
@@ -155,7 +165,11 @@ rm -f gdb-%{gdb_version}/readline/configure
--with-expat \ --with-expat \
%endif %endif
%if "%{gdb_version}" >= "6.8.50" %if "%{gdb_version}" >= "6.8.50"
%if %{with python}
--with-python \
%else
--without-python \ --without-python \
%endif
%endif %endif
--prefix=%{_prefix} --bindir=%{_bindir} \ --prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \ --includedir=%{_includedir} --libdir=%{_libdir} \