Changeset 4cf0f1c in rtems


Ignore:
Timestamp:
08/16/05 07:35:39 (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
2c680594
Parents:
ba0e55a9
Message:

Add special treatment for _prefix=/usr

Location:
scripts/binutils
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • scripts/binutils/base-binutils.add

    rba0e55a9 r4cf0f1c  
     1%if "%{_prefix}" != "/usr"
    12# ==============================================================
    23# rtems-base-binutils
     
    5253%dir %{_prefix}/share
    5354%dir %{_prefix}/share/locale
     55%endif
     56
  • scripts/binutils/binutils.add

    rba0e55a9 r4cf0f1c  
    9797  mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/locale
    9898
     99%if "%{_prefix}" != "/usr"
    99100%if "%{binutils_version}" < "2.9.5"
    100101  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure.info*
     
    103104  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
    104105  touch $RPM_BUILD_ROOT%{_infodir}/dir
     106%endif
     107
     108%if "%{_prefix}" == "/usr"
     109# Conflict with a native binutils' infos
     110  rm -rf $RPM_BUILD_ROOT%{_infodir}
     111%endif
    105112 
    106113# We don't ship host files
Note: See TracChangeset for help on using the changeset viewer.