Ignore:
Timestamp:
Sep 5, 2009, 5:10:06 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
d7467d4
Parents:
7b05a7a
Message:

Activate python.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gdb.spec

    r7b05a7a r757e5de0  
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        1%{?dist}
     55Release:        2%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    106106BuildRequires:  %{_host_rpmprefix}readline-devel
    107107BuildRequires:  %{_host_rpmprefix}ncurses-devel
     108
     109%if "%{gdb_version}" >= "6.8.50"
     110%if "%{_build}" != "%{_host}"
     111# Can't build python Cdn-X
     112%bcond_with python
     113%else
     114%bcond_without python
     115%endif
     116%endif
     117%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
    108118
    109119# Required for building the infos
     
    156166%endif
    157167%if "%{gdb_version}" >= "6.8.50"
     168%if %{with python}
     169    --with-python \
     170%else
    158171    --without-python \
     172%endif
    159173%endif
    160174    --prefix=%{_prefix} --bindir=%{_bindir} \
Note: See TracChangeset for help on using the changeset viewer.