Ignore:
Timestamp:
Apr 20, 2005, 8:59:45 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ac9bbe7
Parents:
d8fa12c
Message:

2005-04-20 Ralf Corsepius <ralf.corsepius@…>

  • binutils/base-binutils.add, binutils/binutils.add, binutils/target-binutils.add: Introduce %{_includedir}, %{_libdir}, %{_bindir}. Remove superfluous %doc. Misc. fixes.
File:
1 edited

Legend:

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

    rd8fa12c r4279a35  
    1414
    1515%post -n %{rpmprefix}rtems@osversion@-base-binutils
    16   if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
     16  if test -d %{_infodir};
    1717  then
    18     rm -f $RPM_INSTALL_PREFIX%{_infodir}/dir
    19     f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
     18    rm -f %{_infodir}/dir
     19    f=`find %{_infodir} -name '*.info.gz'`
    2020    test x"$f" != x"" && for i in $f; do
    21       /sbin/install-info $i $RPM_INSTALL_PREFIX%{_infodir}/dir
     21      /sbin/install-info $i %{_infodir}/dir
    2222    done
    2323  fi
    2424
    2525%postun -n %{rpmprefix}rtems@osversion@-base-binutils
    26   if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
     26  if test -d %{_infodir};
    2727  then
    28     rm -f $RPM_INSTALL_PREFIX%{_infodir}/dir
    29     f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
     28    rm -f %{_infodir}/dir
     29    f=`find %{_infodir} -name '*.info.gz'`
    3030    test x"$f" != x"" && for i in $f; do
    31       /sbin/install-info $i $RPM_INSTALL_PREFIX%{_infodir}/dir
     31      /sbin/install-info $i %{_infodir}/dir
    3232    done
    3333  fi
     
    3535%files -n %{rpmprefix}rtems@osversion@-base-binutils
    3636%defattr(-,root,root)
    37 %dir %{_prefix}/info
    38 %doc %{_infodir}/dir
    39 %doc %{_infodir}/as.info*
    40 %doc %{_infodir}/bfd.info*
    41 %doc %{_infodir}/binutils.info*
    42 %doc %{_infodir}/ld.info*
     37%dir %{_infodir}
     38%{_infodir}/as.info*
     39%{_infodir}/bfd.info*
     40%{_infodir}/binutils.info*
     41%{_infodir}/ld.info*
     42%{_infodir}/standards.info*
    4343
    4444%if "%{binutils_version}" < "2.13"
    45 %doc %{_infodir}/gasp.info*
     45%{_infodir}/gasp.info*
    4646%endif
    47 %doc %{_infodir}/standards.info*
    48 
    49 %if "%{binutils_version}" < "2.9.5"
    50 %doc %{_infodir}/configure.info*
    51 %endif
    52 
    53 # %dir %{_mandir}
    54 # %dir %{_mandir}/man1
    55 
    56 # deleted as of 2.13
    57 # %dir %{_prefix}/include
    58 # %{_prefix}/include/bfd.h
    59 # %{_prefix}/include/ansidecl.h
    60 # %{_prefix}/include/bfdlink.h
    61 
    62 # %dir %{_prefix}/lib
    63 # %{_prefix}/lib/libiberty*
    64 # deleted as of 2.13
    65 # %{_prefix}/lib/libbfd*
    66 # %{_prefix}/lib/libopcodes*
    6747
    6848%dir %{_prefix}/share
Note: See TracChangeset for help on using the changeset viewer.