From 7f43bed02b4aaf6aa89765bf64c96f12b472902a Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 23 Jul 2009 08:52:26 +0000 Subject: Regenerate. --- .../rtems4.9/sparc/rtems-4.9-sparc-rtems4.9-gcc.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'contrib/crossrpms/rtems4.9/sparc/rtems-4.9-sparc-rtems4.9-gcc.spec') diff --git a/contrib/crossrpms/rtems4.9/sparc/rtems-4.9-sparc-rtems4.9-gcc.spec b/contrib/crossrpms/rtems4.9/sparc/rtems-4.9-sparc-rtems4.9-gcc.spec index c65439fb1c..a72ab71c79 100644 --- a/contrib/crossrpms/rtems4.9/sparc/rtems-4.9-sparc-rtems4.9-gcc.spec +++ b/contrib/crossrpms/rtems4.9/sparc/rtems-4.9-sparc-rtems4.9-gcc.spec @@ -40,7 +40,7 @@ %endif %if "%{_build}" != "%{_host}" -%define _host_rpmprefix rtems-4.9-%{_host}- +%define _host_rpmprefix %{_host}- %else %define _host_rpmprefix %{nil} %endif @@ -60,7 +60,7 @@ Summary: sparc-rtems4.9 gcc Group: Development/Tools Version: %{gcc_rpmvers} -Release: 20%{?dist} +Release: 22%{?dist} License: GPL URL: http://gcc.gnu.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -100,7 +100,7 @@ BuildRequires: rtems-4.9-sparc-rtems4.9-binutils Requires: rtems-4.9-gcc-common Requires: rtems-4.9-sparc-rtems4.9-binutils -Requires: rtems-4.9-sparc-rtems4.9-newlib = %{newlib_version}-20%{?dist} +Requires: rtems-4.9-sparc-rtems4.9-newlib = %{newlib_version}-22%{?dist} %if "%{gcc_version}" >= "3.4" @@ -273,6 +273,11 @@ cd .. rm -rf ${RPM_BUILD_ROOT}%{gccexec}/sparc-rtems4.9/%{gcc_version}/install-tools %endif + # Bug in gcc > 4.1.0: Installs an unused, empty directory + if test -d ${RPM_BUILD_ROOT}%{_prefix}/sparc-rtems4.9/include/bits; then + rmdir ${RPM_BUILD_ROOT}%{_prefix}/sparc-rtems4.9/include/bits + fi + # Collect multilib subdirectories f=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'` @@ -432,7 +437,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \ # Group: Development/Tools # Version: %{gcc_rpmvers} # Requires: rtems-4.9-sparc-rtems4.9-binutils -# Requires: rtems-4.9-sparc-rtems4.9-newlib = %{newlib_version}-20%{?dist} +# Requires: rtems-4.9-sparc-rtems4.9-newlib = %{newlib_version}-22%{?dist} # License: GPL # %if %build_infos @@ -584,7 +589,7 @@ Summary: C Library (newlib) for sparc-rtems4.9 Group: Development/Tools License: Distributable Version: %{newlib_version} -Release: 20%{?dist} +Release: 22%{?dist} Requires: rtems-4.9-newlib-common @@ -604,7 +609,7 @@ Newlib C Library for sparc-rtems4.9. Summary: Base package for RTEMS newlib C Library Group: Development/Tools Version: %{newlib_version} -Release: 20%{?dist} +Release: 22%{?dist} License: Distributable Requires(post): /sbin/install-info -- cgit v1.2.3