Changeset 365dd626 in rtems


Ignore:
Timestamp:
Oct 9, 2009, 4:13:49 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
b85a6f5
Parents:
627e28ad
Message:

Regenerate.

File:
1 edited

Legend:

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

    r627e28ad r365dd626  
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        10%{?dist}
     55Release:        11%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    187187# host library, installed to a bogus directory
    188188  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libbfin-rtems4.10-sim.a
     189
     190%if "%{gdb_version}" >= "7.0"
     191# Bug in gdb-7.0, bogusly installs linux-only files
     192  somethinguseful=0
     193  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
     194    case $f in
     195    *linux.xml) rm -f $f;;
     196    *.xml) somethinguseful=1;;
     197    esac
     198  done
     199  if test $somethinguseful -eq 0; then
     200    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
     201  fi
     202%endif
    189203
    190204  cd ..
Note: See TracChangeset for help on using the changeset viewer.