Changeset cdf5ff65 in rtems for scripts/binutils


Ignore:
Timestamp:
Sep 4, 2003, 2:39:05 PM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
35e4691
Parents:
dbb13bf
Message:

2003-09-04 Ralf Corsepius <corsepiu@…>

  • binutils/base-binutils.add: Add osversion support.
  • binutils/binutils.add: Add osversion support. %setup -n %{name}-%{version}. Don't remove c++filt.
  • binutils/target-binutils.add: Add osversion support. Pickup c++filt.
  • gcc3newlib/base-g77.add: Add osversion support.
  • gcc3newlib/base-gcc.add: Add osversion support.
  • gcc3newlib/base-gcj.add: Add osversion support.
  • gcc3newlib/base-gnat.add: Add osversion support.
  • gcc3newlib/gccnewlib.add: Add osversion support. Remove c++filt, %setup -n -n %{name}-%{version}.
  • gcc3newlib/target-c++.add: Add osversion support. Don't pickup c++filt.
  • gcc3newlib/target-g77.add: Add osversion support.
  • gcc3newlib/target-gcc.add: Add osversion support.
  • gcc3newlib/target-gcj.add: Add osversion support.
  • gcc3newlib/target-gnat.add: Add osversion support.
  • gccnewlib/gccnewlib.add: %setup -n %{name}-%{version}.
  • gdb/base-gdb.add: Add osversion support, rpmgroup, rpmprefix, gdb_version, gdb_target.
  • gdb/target-gdb.add: Ditto.
  • gdb/gdb.add: Ditto. %setup -n -n %{name}-%{version}.
Location:
scripts/binutils
Files:
3 edited

Legend:

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

    rdbb13bf rcdf5ff65  
    22# rtems-base-binutils
    33# ==============================================================
    4 %package -n %{rpmprefix}rtems-base-binutils
     4%package -n %{rpmprefix}rtems@osversion@-base-binutils
    55Summary:      base package for rtems binutils
    66Group: %{rpmgroup}
    77PreReq:         /sbin/install-info
    88
    9 %description -n %{rpmprefix}rtems-base-binutils
     9%description -n %{rpmprefix}rtems@osversion@-base-binutils
    1010
    1111RTEMS is an open source operating system for embedded systems.
     
    1313This is the base for binutils regardless of target CPU.
    1414
    15 %post -n %{rpmprefix}rtems-base-binutils
     15%post -n %{rpmprefix}rtems@osversion@-base-binutils
    1616  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
    1717  then
     
    2323  fi
    2424
    25 %postun -n %{rpmprefix}rtems-base-binutils
     25%postun -n %{rpmprefix}rtems@osversion@-base-binutils
    2626  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
    2727  then
     
    3333  fi
    3434
    35 %files -n %{rpmprefix}rtems-base-binutils -f files
     35%files -n %{rpmprefix}rtems@osversion@-base-binutils -f files
    3636%defattr(-,root,root)
    3737%dir %{_prefix}/info
  • scripts/binutils/binutils.add

    rdbb13bf rcdf5ff65  
    3939
    4040%prep
    41 # untar the sources inside %{binutils_target}-binutils
    42 %setup -c -n %{binutils_target}-binutils
     41%setup -c -n %{name}-%{version}
    4342@PATCH2@
    4443  test -d build || mkdir build
     
    6463    $RPM_BUILD_ROOT%{_prefix}/share/locale
    6564
    66   rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{binutils_target}-c++filt%{_exeext}
     65#  rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{binutils_target}-c++filt%{_exeext}
    6766# gzip info files
    6867  gzip -9qf $RPM_BUILD_ROOT%{_prefix}/info/*.info 2>/dev/null
  • scripts/binutils/target-binutils.add

    rdbb13bf rcdf5ff65  
    55Summary:      rtems binutils for %{binutils_target}
    66Group: %{rpmgroup}
    7 Requires: %{rpmprefix}rtems-base-binutils
     7Requires: %{rpmprefix}rtems@osversion@-base-binutils
    88Autoreqprov:    off
    99
     
    2222%{_prefix}/bin/%{binutils_target}-ar%{_exeext}
    2323%{_prefix}/bin/%{binutils_target}-as%{_exeext}
    24 # c++filt now comes from gcc
    25 # %{_prefix}/bin/%{binutils_target}-c++filt%{_exeext}
     24%{_prefix}/bin/%{binutils_target}-c++filt%{_exeext}
     25%if "%{binutils_version}" < "2.13"
    2626# deleted as of 2.13
    27 # %{_prefix}/bin/%{binutils_target}-gasp%{_exeext}
     27%{_prefix}/bin/%{binutils_target}-gasp%{_exeext}
     28%endif
    2829%{_prefix}/bin/%{binutils_target}-ld%{_exeext}
    2930%{_prefix}/bin/%{binutils_target}-nm%{_exeext}
Note: See TracChangeset for help on using the changeset viewer.