Changeset 61f41e2 in rtems for scripts/gcc3newlib/base-gnat.add


Ignore:
Timestamp:
Nov 17, 2003, 12:52:01 PM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
3da33bf8
Parents:
0a2ee12
Message:

2003-11-17 Ralf Corsepius <corsepiu@…>

  • gcc3newlib/gccnewlib.add: Add hacks to make gnatlib buildable.
  • gcc3newlib/base-gnat.add: Add info files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/gcc3newlib/base-gnat.add

    r0a2ee12 r61f41e2  
    1515%defattr(-,root,root)
    1616%dir %{_prefix}/bin
    17 # %{_prefix}/bin/gnat*
     17
     18%if "%{gcc_version}" >= "3.3"
     19%{_prefix}/info/gnat*
    1820%endif
     21
     22%if "%{gcc_version}" >= "3.3"
     23%post -n %{rpmprefix}rtems@osversion@-base-gnat
     24  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
     25  then
     26    rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
     27    f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
     28    test -n "$f" && for i in $f; do
     29      install-info $i $RPM_INSTALL_PREFIX%{_prefix}/info/dir
     30    done
     31  fi
     32
     33%postun -n %{rpmprefix}rtems@osversion@-base-gnat
     34  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
     35  then
     36    rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
     37    f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
     38    test -n "$f" && for i in $f; do
     39      install-info $i $RPM_INSTALL_PREFIX%{_prefix}/info/dir
     40    done
     41  fi
     42%endif
     43%endif
Note: See TracChangeset for help on using the changeset viewer.