Changeset 7cb1d6ea in rtems


Ignore:
Timestamp:
Nov 1, 2007, 7:32:07 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
48816d7
Parents:
e2b16828
Message:

Assume gdb >= 6.4

Location:
contrib/crossrpms/gdb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/gdb/base-gdb.add

    re2b16828 r7cb1d6ea  
    1515%post -n @rpmprefix@gdb-common
    1616  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
    17 %if "%{gdb_version}" < "6.3"
    18   /sbin/install-info --info-dir=%{_infodir} %{_infodir}/mmalloc.info.gz || :
    19 %endif
    2017  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
    2118  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
     
    2522if [ $1 -eq 0 ]; then
    2623  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
    27 %if "%{gdb_version}" < "6.3"
    28   /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/mmalloc.info.gz || :
    29 %endif
    3024  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
    3125  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
     
    3933%{_infodir}/gdb.info*
    4034
    41 # FIXME: When had mmalloc.info been removed?
    42 %if "%{gdb_version}" < "6.3"
    43 %{_infodir}/mmalloc.info*
    44 %endif
    4535%{_infodir}/gdbint.info*
    4636%{_infodir}/stabs.info*
  • contrib/crossrpms/gdb/install.add

    re2b16828 r7cb1d6ea  
    33
    44  cd build
    5 %if "%{gdb_version}" >= "6.3"
    65  make DESTDIR=$RPM_BUILD_ROOT install
    7 %else
    8   make prefix=$RPM_BUILD_ROOT%{_prefix} \
    9     bindir=$RPM_BUILD_ROOT%{_bindir} \
    10     includedir=$RPM_BUILD_ROOT%{_includedir} \
    11     libdir=$RPM_BUILD_ROOT%{_libdir} \
    12     infodir=$RPM_BUILD_ROOT%{_infodir} \
    13     mandir=$RPM_BUILD_ROOT%{_mandir} \
    14     install
    15 
    16 %if %build_infos
    17   make prefix=$RPM_BUILD_ROOT%{_prefix} \
    18     bindir=$RPM_BUILD_ROOT%{_bindir} \
    19     includedir=$RPM_BUILD_ROOT%{_includedir} \
    20     libdir=$RPM_BUILD_ROOT%{_libdir} \
    21     infodir=$RPM_BUILD_ROOT%{_infodir} \
    22     mandir=$RPM_BUILD_ROOT%{_mandir} \
    23     install-info
    24 %endif
    25 %endif
    266
    277%if %build_infos
     
    4121  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
    4222
    43 %if "%{gdb_version}" >= "6.4"
    4423# host library, installed to a bogus directory
    4524  rm -f ${RPM_BUILD_ROOT}%{_libdir}/lib@tool_target@-sim.a
    46 %endif
    4725
    4826  cd ..
Note: See TracChangeset for help on using the changeset viewer.