Changeset c8956fd7 in rtems


Ignore:
Timestamp:
Feb 22, 2006, 11:54:10 AM (14 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
0d0560a1
Parents:
70aecfc
Message:

Use gcc_version instead of %version, to work around rpm screwing up on %version in mixed-versioned packages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/gcc/rpm-install.add

    r70aecfc rc8956fd7  
    3232
    3333
    34 cat << EOF > %{_builddir}/%{name}-%{version}/find-provides
     34cat << EOF > %{_builddir}/%{name}-%{gcc_version}/find-provides
    3535#!/bin/sh
    3636grep -E -v '^${RPM_BUILD_ROOT}%{_prefix}/@tool_target@/(lib|include|sys-root)' \
    3737  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/@tool_target@/' | %__find_provides
    3838EOF
    39 chmod +x %{_builddir}/%{name}-%{version}/find-provides
    40 %define __find_provides %{_builddir}/%{name}-%{version}/find-provides
     39chmod +x %{_builddir}/%{name}-%{gcc_version}/find-provides
     40%define __find_provides %{_builddir}/%{name}-%{gcc_version}/find-provides
    4141
    42 cat << EOF > %{_builddir}/%{name}-%{version}/find-requires
     42cat << EOF > %{_builddir}/%{name}-%{gcc_version}/find-requires
    4343#!/bin/sh
    4444grep -E -v '^${RPM_BUILD_ROOT}%{_prefix}/@tool_target@/(lib|include|sys-root)' \
    4545  | grep -v '^${RPM_BUILD_ROOT}%{gcclib}/@tool_target@/' | %__find_requires
    4646EOF
    47 chmod +x %{_builddir}/%{name}-%{version}/find-requires
    48 %define __find_requires %{_builddir}/%{name}-%{version}/find-requires
     47chmod +x %{_builddir}/%{name}-%{gcc_version}/find-requires
     48%define __find_requires %{_builddir}/%{name}-%{gcc_version}/find-requires
    4949
Note: See TracChangeset for help on using the changeset viewer.