Changeset 64cc4bb5 in rtems


Ignore:
Timestamp:
Oct 15, 2001, 5:49:35 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
3bcc0d8
Parents:
76c6828d
Message:

2001-10-15 Ralf Corsepius <corsepiu@…>

  • mkbinutilsspec.in: Guard sed-pattern against autoconf.
  • mkgccnewlibspec.in: Guard sed-pattern against autoconf, remove Target_alias.
  • mkgdbspec.in: Guard sed-pattern against autoconf.
  • mkbspspec.in: Guard sed-pattern against autoconf.
  • configure.ac: Rework check for RPM_SPECSdir.
  • autotools/automake-rtems.spec: Update to automake-1.5.
Location:
scripts
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • scripts/ChangeLog

    r76c6828d r64cc4bb5  
     12001-10-15      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * mkbinutilsspec.in: Guard sed-pattern against autoconf.
     4        * mkgccnewlibspec.in: Guard sed-pattern against autoconf, remove
     5        Target_alias.
     6        * mkgdbspec.in: Guard sed-pattern against autoconf.
     7        * mkbspspec.in: Guard sed-pattern against autoconf.
     8        * configure.ac: Rework check for RPM_SPECSdir.
     9        * autotools/automake-rtems.spec: Update to automake-1.5.
     10
    1112001-10-11      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    212
  • scripts/autotools/automake-rtems.spec

    r76c6828d r64cc4bb5  
    33#
    44
    5 %define rpmvers 1.4_p5
    6 %define srcvers 1.4-p5
     5%define rpmvers 1.5
     6%define srcvers 1.5
    77
    88%define _defaultbuildroot       /var/tmp/%{name}-%{srcvers}-root
  • scripts/configure.ac

    r76c6828d r64cc4bb5  
    2222. ./setup.cache
    2323
    24 # Some linux distributions use /usr/src/packages
     24AC_MSG_CHECKING(for rpm SPECS directory)
     25# Allow users to override RPM_SPECSdir from the environment.
     26if test x"$RPM_SPECSdir" = x"$RPM_SPECSdir";
     27then
     28# SuSE uses /usr/src/packages
    2529# redhat uses /usr/src/redhat
     30# MDK is reported to use /usr/src/RPM
    2631# others might use /usr/src
    27 AC_MSG_CHECKING(for rpm SPECS directory)
    28 if test -d /usr/src/packages/SPECS;
    29 then
    30   RPM_SPECSdir=/usr/src/packages/SPECS;
    31 elif test -d /usr/src/redhat/SPECS;
    32 then
    33   RPM_SPECSdir=/usr/src/redhat/SPECS;
    34 elif test -d /usr/src/SPECS;
    35 then
    36   RPM_SPECSdir=/usr/src/SPECS;
    37 elif test -d /usr/local/src/redhat/SPECS;
    38 then
    39   RPM_SPECSdir=/usr/local/src/redhat/SPECS;
     32  rpmpath="/usr:/usr/local"
     33  rpmdirs="src/packages:src/redhat:src/RPM:src"
     34  save_IFS="$IFS"; IFS=":"
     35  for d in $rpmdirs; do
     36    for p in $rpmpath; do
     37      list="$p/$d:$list"
     38    done
     39  done
     40  for d in $list; do
     41    if test -d $d/SPECS; then
     42      RPM_SPECSdir="$d/SPECS";
     43      break;
     44    fi
     45  done
     46  IFS="$save_IFS"
    4047fi
     48
    4149if test x"$RPM_SPECSdir" = x"" ; then
    42 AC_MSG_ERROR(not found)
     50AC_MSG_ERROR([not found])
    4351fi
    4452AC_MSG_RESULT($RPM_SPECSdir)
  • scripts/mkbinutilspec.in

    r76c6828d r64cc4bb5  
    5151specfile=${dst}/$target_alias-binutils-${binutils_version}.spec
    5252
    53 sed -e "s%@Release@%${binutils_rpm_release}%g" \
    54     -e "s%@rpm_build_root@%${rpm_build_root}%g" \
    55     -e "s%@target_alias@%${target_alias}%g" \
    56     -e "s%@binutils_version@%${binutils_version}%g" \
    57     -e "s%@binutils_patch_version@%${binutils_patch_version}%g" \
    58     -e "s%@exe_ext@%${exe_ext}%g" \
     53sed -e "s%@Release\@%${binutils_rpm_release}%g" \
     54    -e "s%@rpm_build_root\@%${rpm_build_root}%g" \
     55    -e "s%@target_alias\@%${target_alias}%g" \
     56    -e "s%@binutils_version\@%${binutils_version}%g" \
     57    -e "s%@binutils_patch_version\@%${binutils_patch_version}%g" \
     58    -e "s%@exe_ext\@%${exe_ext}%g" \
    5959< ${RTEMS_DIR}/binutils/binutils.spec.in \
    6060> ${specfile}
  • scripts/mkbspspec.in

    r76c6828d r64cc4bb5  
    5151specfile=${dst}/$target_alias-$bsp-${rtems_version}.spec
    5252
    53 sed -e "s%@Release@%${rtems_rpm_release}%g" \
    54     -e "s%@bsp@%${bsp}%g" \
    55     -e "s%@rtems_version@%${rtems_version}%g" \
    56     -e "s%@rpm_build_root@%${rpm_build_root}%g" \
    57     -e "s%@target_alias@%${target_alias}%g" \
    58     -e "s%@exe_ext@%${exe_ext}%g" \
     53sed -e "s%@Release\@%${rtems_rpm_release}%g" \
     54    -e "s%@bsp\@%${bsp}%g" \
     55    -e "s%@rtems_version\@%${rtems_version}%g" \
     56    -e "s%@rpm_build_root\@%${rpm_build_root}%g" \
     57    -e "s%@target_alias\@%${target_alias}%g" \
     58    -e "s%@exe_ext\@%${exe_ext}%g" \
    5959< ${RTEMS_DIR}/rtems/rtems.spec.in \
    6060> ${specfile}
  • scripts/mkgccnewlibspec.in

    r76c6828d r64cc4bb5  
    5858specfile=${dst}/${target_alias}-gcc-${gcc_version}-newlib-${newlib_version}.spec
    5959
    60 sed -e "s%@Release@%${gccnewlib_rpm_release}%g" \
    61     -e "s%@Target_alias@%${target_alias}%g" \
    62     -e "s%@rpm_build_root@%${rpm_build_root}%g" \
    63     -e "s%@gcc_version@%${gcc_version}%g" \
    64     -e "s%@gcc_patch_version@%${gcc_patch_version}%g" \
    65     -e "s%@newlib_version@%${newlib_version}%g" \
    66     -e "s%@newlib_patch_version@%${newlib_patch_version}%g" \
    67     -e "s%@exe_ext@%${exe_ext}%g" \
     60sed -e "s%@Release\@%${gccnewlib_rpm_release}%g" \
     61    -e "s%@target_alias\@%${target_alias}%g" \
     62    -e "s%@rpm_build_root\@%${rpm_build_root}%g" \
     63    -e "s%@gcc_version\@%${gcc_version}%g" \
     64    -e "s%@gcc_patch_version\@%${gcc_patch_version}%g" \
     65    -e "s%@newlib_version\@%${newlib_version}%g" \
     66    -e "s%@newlib_patch_version\@%${newlib_patch_version}%g" \
     67    -e "s%@exe_ext\@%${exe_ext}%g" \
    6868< ${specsrc} \
    6969> ${specfile}
  • scripts/mkgdbspec.in

    r76c6828d r64cc4bb5  
    6666esac
    6767
    68 sed -e "s%@Release@%${gdb_rpm_release}%g" \
    69     -e "s%@rpm_build_root@%${rpm_build_root}%g" \
    70     -e "s%@target_alias@%${target_alias}%g" \
    71     -e "s%@gdb_version@%${gdb_version}%g" \
    72     -e "s%@gdb_patch_version@%${gdb_patch_version}%g" \
    73     -e "s%@extra_configure_arguments@%${extra_configure_arguments}%g" \
    74     -e "s%@exe_ext@%${exe_ext}%g" \
     68sed -e "s%@Release\@%${gdb_rpm_release}%g" \
     69    -e "s%@rpm_build_root\@%${rpm_build_root}%g" \
     70    -e "s%@target_alias\@%${target_alias}%g" \
     71    -e "s%@gdb_version\@%${gdb_version}%g" \
     72    -e "s%@gdb_patch_version\@%${gdb_patch_version}%g" \
     73    -e "s%@extra_configure_arguments\@%${extra_configure_arguments}%g" \
     74    -e "s%@exe_ext\@%${exe_ext}%g" \
    7575< ${RTEMS_DIR}/gdb/gdb.spec.in \
    7676> ${specfile}
Note: See TracChangeset for help on using the changeset viewer.