Regenerate.

This commit is contained in:
Ralf Corsepius
2008-11-13 07:55:18 +00:00
parent 13873d54e4
commit 86b2da4fb7
9 changed files with 288 additions and 27 deletions

View File

@@ -40,7 +40,7 @@ Summary: arm-rtems4.8 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
Release: 31%{?dist}
Release: 32%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -55,7 +55,7 @@ BuildRequires: gmp-devel >= 4.1
BuildRequires: %{_host_rpmprefix}gmp-devel
BuildRequires: %{_host_rpmprefix}mpfr-devel
%endif
%if "%{?fedora}" >= "8"
%if 0%{?fedora} >= 8
BuildRequires: mpfr-devel >= 2.3.0
%endif
%if "%{?suse}" > "10.3"
@@ -179,7 +179,8 @@ cd ..
CFLAGS_FOR_BUILD="-g -O2 -Wall" \
CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
%else
CC="%{__cc} ${RPM_OPT_FLAGS}" \
# gcc is not ready to be compiled with -std=gnu99
CC=$(echo "%{__cc} ${RPM_OPT_FLAGS}" | sed -e 's,-std=gnu99 ,,') \
%endif
../gcc-%{gcc_pkgvers}/configure \
--prefix=%{_prefix} \
@@ -383,6 +384,30 @@ EOF
chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
%ifnarch noarch
# Extract %%__debug_install_post into debug_install_post~
cat << \EOF > debug_install_post~
%__debug_install_post
EOF
# Generate customized debug_install_post script
cat debug_install_post~ | while read a x y; do
case $a in
# Prevent find-debuginfo.sh* from trying to handle foreign binaries
*/find-debuginfo.sh)
b=$(basename $a)
sed -e 's,find "$RPM_BUILD_ROOT" !,find "$RPM_BUILD_ROOT"%_bindir "$RPM_BUILD_ROOT"%_libexecdir !,' $a > $b
chmod a+x $b
;;
esac
done
sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
< debug_install_post~ > debug_install_post
%define __debug_install_post . ./debug_install_post
%endif
%clean
rm -rf $RPM_BUILD_ROOT
@@ -432,6 +457,10 @@ GNU cc compiler for arm-rtems4.8.
%endif
%endif
%if "%{gcc_version}" >= "4.3.0"
%dir %{gcclib}/arm-rtems4.8/%{gcc_version}/include-fixed
%endif
%dir %{gccexec}
%dir %{gccexec}/arm-rtems4.8
%dir %{gccexec}/arm-rtems4.8/%{gcc_version}

View File

@@ -40,7 +40,7 @@ Summary: bfin-rtems4.8 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
Release: 31%{?dist}
Release: 32%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -55,7 +55,7 @@ BuildRequires: gmp-devel >= 4.1
BuildRequires: %{_host_rpmprefix}gmp-devel
BuildRequires: %{_host_rpmprefix}mpfr-devel
%endif
%if "%{?fedora}" >= "8"
%if 0%{?fedora} >= 8
BuildRequires: mpfr-devel >= 2.3.0
%endif
%if "%{?suse}" > "10.3"
@@ -173,7 +173,8 @@ cd ..
CFLAGS_FOR_BUILD="-g -O2 -Wall" \
CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
%else
CC="%{__cc} ${RPM_OPT_FLAGS}" \
# gcc is not ready to be compiled with -std=gnu99
CC=$(echo "%{__cc} ${RPM_OPT_FLAGS}" | sed -e 's,-std=gnu99 ,,') \
%endif
../gcc-%{gcc_pkgvers}/configure \
--prefix=%{_prefix} \
@@ -377,6 +378,30 @@ EOF
chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
%ifnarch noarch
# Extract %%__debug_install_post into debug_install_post~
cat << \EOF > debug_install_post~
%__debug_install_post
EOF
# Generate customized debug_install_post script
cat debug_install_post~ | while read a x y; do
case $a in
# Prevent find-debuginfo.sh* from trying to handle foreign binaries
*/find-debuginfo.sh)
b=$(basename $a)
sed -e 's,find "$RPM_BUILD_ROOT" !,find "$RPM_BUILD_ROOT"%_bindir "$RPM_BUILD_ROOT"%_libexecdir !,' $a > $b
chmod a+x $b
;;
esac
done
sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
< debug_install_post~ > debug_install_post
%define __debug_install_post . ./debug_install_post
%endif
%clean
rm -rf $RPM_BUILD_ROOT
@@ -426,6 +451,10 @@ GNU cc compiler for bfin-rtems4.8.
%endif
%endif
%if "%{gcc_version}" >= "4.3.0"
%dir %{gcclib}/bfin-rtems4.8/%{gcc_version}/include-fixed
%endif
%dir %{gccexec}
%dir %{gccexec}/bfin-rtems4.8
%dir %{gccexec}/bfin-rtems4.8/%{gcc_version}

View File

@@ -40,7 +40,7 @@ Summary: h8300-rtems4.8 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
Release: 31%{?dist}
Release: 32%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -55,7 +55,7 @@ BuildRequires: gmp-devel >= 4.1
BuildRequires: %{_host_rpmprefix}gmp-devel
BuildRequires: %{_host_rpmprefix}mpfr-devel
%endif
%if "%{?fedora}" >= "8"
%if 0%{?fedora} >= 8
BuildRequires: mpfr-devel >= 2.3.0
%endif
%if "%{?suse}" > "10.3"
@@ -179,7 +179,8 @@ cd ..
CFLAGS_FOR_BUILD="-g -O2 -Wall" \
CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
%else
CC="%{__cc} ${RPM_OPT_FLAGS}" \
# gcc is not ready to be compiled with -std=gnu99
CC=$(echo "%{__cc} ${RPM_OPT_FLAGS}" | sed -e 's,-std=gnu99 ,,') \
%endif
../gcc-%{gcc_pkgvers}/configure \
--prefix=%{_prefix} \
@@ -383,6 +384,30 @@ EOF
chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
%ifnarch noarch
# Extract %%__debug_install_post into debug_install_post~
cat << \EOF > debug_install_post~
%__debug_install_post
EOF
# Generate customized debug_install_post script
cat debug_install_post~ | while read a x y; do
case $a in
# Prevent find-debuginfo.sh* from trying to handle foreign binaries
*/find-debuginfo.sh)
b=$(basename $a)
sed -e 's,find "$RPM_BUILD_ROOT" !,find "$RPM_BUILD_ROOT"%_bindir "$RPM_BUILD_ROOT"%_libexecdir !,' $a > $b
chmod a+x $b
;;
esac
done
sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
< debug_install_post~ > debug_install_post
%define __debug_install_post . ./debug_install_post
%endif
%clean
rm -rf $RPM_BUILD_ROOT
@@ -432,6 +457,10 @@ GNU cc compiler for h8300-rtems4.8.
%endif
%endif
%if "%{gcc_version}" >= "4.3.0"
%dir %{gcclib}/h8300-rtems4.8/%{gcc_version}/include-fixed
%endif
%dir %{gccexec}
%dir %{gccexec}/h8300-rtems4.8
%dir %{gccexec}/h8300-rtems4.8/%{gcc_version}

View File

@@ -40,7 +40,7 @@ Summary: i386-rtems4.8 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
Release: 31%{?dist}
Release: 32%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -55,7 +55,7 @@ BuildRequires: gmp-devel >= 4.1
BuildRequires: %{_host_rpmprefix}gmp-devel
BuildRequires: %{_host_rpmprefix}mpfr-devel
%endif
%if "%{?fedora}" >= "8"
%if 0%{?fedora} >= 8
BuildRequires: mpfr-devel >= 2.3.0
%endif
%if "%{?suse}" > "10.3"
@@ -179,7 +179,8 @@ cd ..
CFLAGS_FOR_BUILD="-g -O2 -Wall" \
CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
%else
CC="%{__cc} ${RPM_OPT_FLAGS}" \
# gcc is not ready to be compiled with -std=gnu99
CC=$(echo "%{__cc} ${RPM_OPT_FLAGS}" | sed -e 's,-std=gnu99 ,,') \
%endif
../gcc-%{gcc_pkgvers}/configure \
--prefix=%{_prefix} \
@@ -383,6 +384,30 @@ EOF
chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
%ifnarch noarch
# Extract %%__debug_install_post into debug_install_post~
cat << \EOF > debug_install_post~
%__debug_install_post
EOF
# Generate customized debug_install_post script
cat debug_install_post~ | while read a x y; do
case $a in
# Prevent find-debuginfo.sh* from trying to handle foreign binaries
*/find-debuginfo.sh)
b=$(basename $a)
sed -e 's,find "$RPM_BUILD_ROOT" !,find "$RPM_BUILD_ROOT"%_bindir "$RPM_BUILD_ROOT"%_libexecdir !,' $a > $b
chmod a+x $b
;;
esac
done
sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
< debug_install_post~ > debug_install_post
%define __debug_install_post . ./debug_install_post
%endif
%clean
rm -rf $RPM_BUILD_ROOT
@@ -432,6 +457,10 @@ GNU cc compiler for i386-rtems4.8.
%endif
%endif
%if "%{gcc_version}" >= "4.3.0"
%dir %{gcclib}/i386-rtems4.8/%{gcc_version}/include-fixed
%endif
%dir %{gccexec}
%dir %{gccexec}/i386-rtems4.8
%dir %{gccexec}/i386-rtems4.8/%{gcc_version}

View File

@@ -40,7 +40,7 @@ Summary: m68k-rtems4.8 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
Release: 31%{?dist}
Release: 32%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -55,7 +55,7 @@ BuildRequires: gmp-devel >= 4.1
BuildRequires: %{_host_rpmprefix}gmp-devel
BuildRequires: %{_host_rpmprefix}mpfr-devel
%endif
%if "%{?fedora}" >= "8"
%if 0%{?fedora} >= 8
BuildRequires: mpfr-devel >= 2.3.0
%endif
%if "%{?suse}" > "10.3"
@@ -179,7 +179,8 @@ cd ..
CFLAGS_FOR_BUILD="-g -O2 -Wall" \
CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
%else
CC="%{__cc} ${RPM_OPT_FLAGS}" \
# gcc is not ready to be compiled with -std=gnu99
CC=$(echo "%{__cc} ${RPM_OPT_FLAGS}" | sed -e 's,-std=gnu99 ,,') \
%endif
../gcc-%{gcc_pkgvers}/configure \
--prefix=%{_prefix} \
@@ -383,6 +384,30 @@ EOF
chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
%ifnarch noarch
# Extract %%__debug_install_post into debug_install_post~
cat << \EOF > debug_install_post~
%__debug_install_post
EOF
# Generate customized debug_install_post script
cat debug_install_post~ | while read a x y; do
case $a in
# Prevent find-debuginfo.sh* from trying to handle foreign binaries
*/find-debuginfo.sh)
b=$(basename $a)
sed -e 's,find "$RPM_BUILD_ROOT" !,find "$RPM_BUILD_ROOT"%_bindir "$RPM_BUILD_ROOT"%_libexecdir !,' $a > $b
chmod a+x $b
;;
esac
done
sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
< debug_install_post~ > debug_install_post
%define __debug_install_post . ./debug_install_post
%endif
%clean
rm -rf $RPM_BUILD_ROOT
@@ -432,6 +457,10 @@ GNU cc compiler for m68k-rtems4.8.
%endif
%endif
%if "%{gcc_version}" >= "4.3.0"
%dir %{gcclib}/m68k-rtems4.8/%{gcc_version}/include-fixed
%endif
%dir %{gccexec}
%dir %{gccexec}/m68k-rtems4.8
%dir %{gccexec}/m68k-rtems4.8/%{gcc_version}

View File

@@ -40,7 +40,7 @@ Summary: mips-rtems4.8 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
Release: 31%{?dist}
Release: 32%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -55,7 +55,7 @@ BuildRequires: gmp-devel >= 4.1
BuildRequires: %{_host_rpmprefix}gmp-devel
BuildRequires: %{_host_rpmprefix}mpfr-devel
%endif
%if "%{?fedora}" >= "8"
%if 0%{?fedora} >= 8
BuildRequires: mpfr-devel >= 2.3.0
%endif
%if "%{?suse}" > "10.3"
@@ -179,7 +179,8 @@ cd ..
CFLAGS_FOR_BUILD="-g -O2 -Wall" \
CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
%else
CC="%{__cc} ${RPM_OPT_FLAGS}" \
# gcc is not ready to be compiled with -std=gnu99
CC=$(echo "%{__cc} ${RPM_OPT_FLAGS}" | sed -e 's,-std=gnu99 ,,') \
%endif
../gcc-%{gcc_pkgvers}/configure \
--prefix=%{_prefix} \
@@ -383,6 +384,30 @@ EOF
chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
%ifnarch noarch
# Extract %%__debug_install_post into debug_install_post~
cat << \EOF > debug_install_post~
%__debug_install_post
EOF
# Generate customized debug_install_post script
cat debug_install_post~ | while read a x y; do
case $a in
# Prevent find-debuginfo.sh* from trying to handle foreign binaries
*/find-debuginfo.sh)
b=$(basename $a)
sed -e 's,find "$RPM_BUILD_ROOT" !,find "$RPM_BUILD_ROOT"%_bindir "$RPM_BUILD_ROOT"%_libexecdir !,' $a > $b
chmod a+x $b
;;
esac
done
sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
< debug_install_post~ > debug_install_post
%define __debug_install_post . ./debug_install_post
%endif
%clean
rm -rf $RPM_BUILD_ROOT
@@ -432,6 +457,10 @@ GNU cc compiler for mips-rtems4.8.
%endif
%endif
%if "%{gcc_version}" >= "4.3.0"
%dir %{gcclib}/mips-rtems4.8/%{gcc_version}/include-fixed
%endif
%dir %{gccexec}
%dir %{gccexec}/mips-rtems4.8
%dir %{gccexec}/mips-rtems4.8/%{gcc_version}

View File

@@ -40,7 +40,7 @@ Summary: powerpc-rtems4.8 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
Release: 31%{?dist}
Release: 32%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -55,7 +55,7 @@ BuildRequires: gmp-devel >= 4.1
BuildRequires: %{_host_rpmprefix}gmp-devel
BuildRequires: %{_host_rpmprefix}mpfr-devel
%endif
%if "%{?fedora}" >= "8"
%if 0%{?fedora} >= 8
BuildRequires: mpfr-devel >= 2.3.0
%endif
%if "%{?suse}" > "10.3"
@@ -179,7 +179,8 @@ cd ..
CFLAGS_FOR_BUILD="-g -O2 -Wall" \
CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
%else
CC="%{__cc} ${RPM_OPT_FLAGS}" \
# gcc is not ready to be compiled with -std=gnu99
CC=$(echo "%{__cc} ${RPM_OPT_FLAGS}" | sed -e 's,-std=gnu99 ,,') \
%endif
../gcc-%{gcc_pkgvers}/configure \
--prefix=%{_prefix} \
@@ -383,6 +384,30 @@ EOF
chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
%ifnarch noarch
# Extract %%__debug_install_post into debug_install_post~
cat << \EOF > debug_install_post~
%__debug_install_post
EOF
# Generate customized debug_install_post script
cat debug_install_post~ | while read a x y; do
case $a in
# Prevent find-debuginfo.sh* from trying to handle foreign binaries
*/find-debuginfo.sh)
b=$(basename $a)
sed -e 's,find "$RPM_BUILD_ROOT" !,find "$RPM_BUILD_ROOT"%_bindir "$RPM_BUILD_ROOT"%_libexecdir !,' $a > $b
chmod a+x $b
;;
esac
done
sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
< debug_install_post~ > debug_install_post
%define __debug_install_post . ./debug_install_post
%endif
%clean
rm -rf $RPM_BUILD_ROOT
@@ -432,6 +457,10 @@ GNU cc compiler for powerpc-rtems4.8.
%endif
%endif
%if "%{gcc_version}" >= "4.3.0"
%dir %{gcclib}/powerpc-rtems4.8/%{gcc_version}/include-fixed
%endif
%dir %{gccexec}
%dir %{gccexec}/powerpc-rtems4.8
%dir %{gccexec}/powerpc-rtems4.8/%{gcc_version}

View File

@@ -40,7 +40,7 @@ Summary: sh-rtems4.8 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
Release: 31%{?dist}
Release: 32%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -55,7 +55,7 @@ BuildRequires: gmp-devel >= 4.1
BuildRequires: %{_host_rpmprefix}gmp-devel
BuildRequires: %{_host_rpmprefix}mpfr-devel
%endif
%if "%{?fedora}" >= "8"
%if 0%{?fedora} >= 8
BuildRequires: mpfr-devel >= 2.3.0
%endif
%if "%{?suse}" > "10.3"
@@ -179,7 +179,8 @@ cd ..
CFLAGS_FOR_BUILD="-g -O2 -Wall" \
CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
%else
CC="%{__cc} ${RPM_OPT_FLAGS}" \
# gcc is not ready to be compiled with -std=gnu99
CC=$(echo "%{__cc} ${RPM_OPT_FLAGS}" | sed -e 's,-std=gnu99 ,,') \
%endif
../gcc-%{gcc_pkgvers}/configure \
--prefix=%{_prefix} \
@@ -383,6 +384,30 @@ EOF
chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
%ifnarch noarch
# Extract %%__debug_install_post into debug_install_post~
cat << \EOF > debug_install_post~
%__debug_install_post
EOF
# Generate customized debug_install_post script
cat debug_install_post~ | while read a x y; do
case $a in
# Prevent find-debuginfo.sh* from trying to handle foreign binaries
*/find-debuginfo.sh)
b=$(basename $a)
sed -e 's,find "$RPM_BUILD_ROOT" !,find "$RPM_BUILD_ROOT"%_bindir "$RPM_BUILD_ROOT"%_libexecdir !,' $a > $b
chmod a+x $b
;;
esac
done
sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
< debug_install_post~ > debug_install_post
%define __debug_install_post . ./debug_install_post
%endif
%clean
rm -rf $RPM_BUILD_ROOT
@@ -432,6 +457,10 @@ GNU cc compiler for sh-rtems4.8.
%endif
%endif
%if "%{gcc_version}" >= "4.3.0"
%dir %{gcclib}/sh-rtems4.8/%{gcc_version}/include-fixed
%endif
%dir %{gccexec}
%dir %{gccexec}/sh-rtems4.8
%dir %{gccexec}/sh-rtems4.8/%{gcc_version}

View File

@@ -40,7 +40,7 @@ Summary: sparc-rtems4.8 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
Release: 31%{?dist}
Release: 32%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -55,7 +55,7 @@ BuildRequires: gmp-devel >= 4.1
BuildRequires: %{_host_rpmprefix}gmp-devel
BuildRequires: %{_host_rpmprefix}mpfr-devel
%endif
%if "%{?fedora}" >= "8"
%if 0%{?fedora} >= 8
BuildRequires: mpfr-devel >= 2.3.0
%endif
%if "%{?suse}" > "10.3"
@@ -179,7 +179,8 @@ cd ..
CFLAGS_FOR_BUILD="-g -O2 -Wall" \
CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
%else
CC="%{__cc} ${RPM_OPT_FLAGS}" \
# gcc is not ready to be compiled with -std=gnu99
CC=$(echo "%{__cc} ${RPM_OPT_FLAGS}" | sed -e 's,-std=gnu99 ,,') \
%endif
../gcc-%{gcc_pkgvers}/configure \
--prefix=%{_prefix} \
@@ -383,6 +384,30 @@ EOF
chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
%ifnarch noarch
# Extract %%__debug_install_post into debug_install_post~
cat << \EOF > debug_install_post~
%__debug_install_post
EOF
# Generate customized debug_install_post script
cat debug_install_post~ | while read a x y; do
case $a in
# Prevent find-debuginfo.sh* from trying to handle foreign binaries
*/find-debuginfo.sh)
b=$(basename $a)
sed -e 's,find "$RPM_BUILD_ROOT" !,find "$RPM_BUILD_ROOT"%_bindir "$RPM_BUILD_ROOT"%_libexecdir !,' $a > $b
chmod a+x $b
;;
esac
done
sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
< debug_install_post~ > debug_install_post
%define __debug_install_post . ./debug_install_post
%endif
%clean
rm -rf $RPM_BUILD_ROOT
@@ -432,6 +457,10 @@ GNU cc compiler for sparc-rtems4.8.
%endif
%endif
%if "%{gcc_version}" >= "4.3.0"
%dir %{gcclib}/sparc-rtems4.8/%{gcc_version}/include-fixed
%endif
%dir %{gccexec}
%dir %{gccexec}/sparc-rtems4.8
%dir %{gccexec}/sparc-rtems4.8/%{gcc_version}