Switch to using %gcc_version.

This commit is contained in:
Ralf Corsepius
2005-09-01 08:16:57 +00:00
parent 7e9b763a27
commit 4372b6070a
10 changed files with 18 additions and 10 deletions

View File

@@ -6,6 +6,8 @@
%package -n %{rpmprefix}rtems@osversion@-base-g77
Summary: rtems base package for gcc/g77 compiler
Group: %{rpmgroup}
Version: %{gcc_version}
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info

View File

@@ -5,6 +5,7 @@
%package -n %{rpmprefix}rtems@osversion@-base-gcc
Summary: base package for rtems gcc and newlib C Library
Group: %{rpmgroup}
Version: %{gcc_version}
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info

View File

@@ -6,6 +6,7 @@
%package -n %{rpmprefix}rtems@osversion@-base-gcj
Summary: base package for rtems gcc/java compiler (gcj).
Group: %{rpmgroup}
Version: %{gcc_version}
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info

View File

@@ -5,10 +5,11 @@
%package -n %{rpmprefix}%{gcc_target}-c++
Summary: gcc/g++ compiler (c++) for %{gcc_target}
Group: %{rpmgroup}
Version: %{gcc_version}
%if "%{_prefix}" != "/usr"
Requires: %{rpmprefix}rtems@osversion@-base-gcc
%endif
Requires: %{rpmprefix}%{gcc_target}-gcc = %{gccnewlib_version}-%{release}
Requires: %{rpmprefix}%{gcc_target}-gcc = %{gcc_version}-%{release}
%description -n %{rpmprefix}%{gcc_target}-c++
RTEMS is an open source operating system for embedded systems.

View File

@@ -5,8 +5,9 @@
%package -n %{rpmprefix}%{gcc_target}-g77
Summary: gcc/g77 compiler for %{gcc_target}
Group: %{rpmgroup}
Version: %{gcc_version}
Requires: %{rpmprefix}rtems@osversion@-base-g77
Requires: %{rpmprefix}%{gcc_target}-gcc = %{gccnewlib_version}-%{release}
Requires: %{rpmprefix}%{gcc_target}-gcc = %{gcc_version}-%{release}
%description -n %{rpmprefix}%{gcc_target}-g77
RTEMS is an open source operating system for embedded systems.

View File

@@ -4,16 +4,14 @@
%package -n %{rpmprefix}%{gcc_target}-gcc
Summary: rtems gcc and newlib C Library for %{gcc_target}
Group: %{rpmgroup}
Version: %{gcc_version}
Requires: %{rpmprefix}%{gcc_target}-binutils
Requires: %{rpmprefix}%{gcc_target}-libc = %{newlib_version}-%{release}
Provides: %{rpmprefix}%{gcc_target}-newlib = %{newlib_version}-%{release}
Provides: %{rpmprefix}%{gcc_target}-libc = %{newlib_version}-%{release}
%description -n %{rpmprefix}%{gcc_target}-gcc
RTEMS is an open source operating system for embedded systems.
This is gcc and newlib C Library for %{gcc_target}.
This is gcc for %{gcc_target}.
%files -n %{rpmprefix}%{gcc_target}-gcc -f build/files.gcc
%defattr(-,root,root)

View File

@@ -5,10 +5,11 @@
%package -n %{rpmprefix}%{gcc_target}-gcj
Summary: gcc/java compiler (gcj) for %{gcc_target}
Group: %{rpmgroup}
Version: %{gcc_version}
%if "%{_prefix}" != "/usr"
Requires: %{rpmprefix}rtems@osversion@-base-gcj
%endif
Requires: %{rpmprefix}%{gcc_target}-gcc = %{gccnewlib_version}-%{release}
Requires: %{rpmprefix}%{gcc_target}-gcc = %{gcc_version}-%{release}
%description -n %{rpmprefix}%{gcc_target}-gcj
RTEMS is an open source operating system for embedded systems.

View File

@@ -5,10 +5,11 @@
%package -n %{rpmprefix}%{gcc_target}-gfortran
Summary: gcc/gfortran compiler for %{gcc_target}
Group: %{rpmgroup}
Version: %{gcc_version}
%if "%{_prefix}" != "/usr"
Requires: %{rpmprefix}rtems@osversion@-base-gfortran
%endif
Requires: %{rpmprefix}%{gcc_target}-gcc = %{gccnewlib_version}-%{release}
Requires: %{rpmprefix}%{gcc_target}-gcc = %{gcc_version}-%{release}
Obsoletes: %{rpmprefix}%{gcc_target}-g77
%description -n %{rpmprefix}%{gcc_target}-gfortran

View File

@@ -5,10 +5,11 @@
%package -n %{rpmprefix}%{gcc_target}-gnat
Summary: gcc/gnat compiler for %{gcc_target}
Group: %{rpmgroup}
Version: %{gcc_version}
%if "%{_prefix}" != "/usr"
Requires: %{rpmprefix}rtems@osversion@-base-gnat
%endif
Requires: %{rpmprefix}%{gcc_target}-gcc = %{gccnewlib_version}-%{release}
Requires: %{rpmprefix}%{gcc_target}-gcc = %{gcc_version}-%{release}
%description -n %{rpmprefix}%{gcc_target}-gnat
RTEMS is an open source operating system for embedded systems.

View File

@@ -5,7 +5,8 @@
%package -n %{rpmprefix}%{gcc_target}-objc
Summary: gcc/objc compiler for %{gcc_target}
Group: %{rpmgroup}
Requires: %{rpmprefix}%{gcc_target}-gcc = %{gccnewlib_version}-%{release}
Version: %{gcc_version}
Requires: %{rpmprefix}%{gcc_target}-gcc = %{gcc_version}-%{release}
%description -n %{rpmprefix}%{gcc_target}-objc
RTEMS is an open source operating system for embedded systems.