summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-binutils.spec
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-binutils.spec')
-rw-r--r--contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-binutils.spec10
1 files changed, 6 insertions, 4 deletions
diff --git a/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-binutils.spec b/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-binutils.spec
index 36aec9a4ed..263a58d6cb 100644
--- a/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-binutils.spec
+++ b/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-binutils.spec
@@ -45,15 +45,15 @@
%define _host_rpmprefix %{nil}
%endif
-%define binutils_pkgvers 2.21
-%define binutils_version 2.21
-%define binutils_rpmvers %{expand:%(echo "2.21" | tr - _ )}
+%define binutils_pkgvers 2.21.1
+%define binutils_version 2.21.1
+%define binutils_rpmvers %{expand:%(echo "2.21.1" | tr - _ )}
Name: rtems-4.11-mips-rtems4.11-binutils
Summary: Binutils for target mips-rtems4.11
Group: Development/Tools
Version: %{binutils_rpmvers}
-Release: 2%{?dist}
+Release: 1%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -74,7 +74,9 @@ BuildRequires: bison
Requires: rtems-4.11-binutils-common
Source0: ftp://ftp.gnu.org/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
+%if "%{binutils_version}" == "2.21"
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/binutils-2.21-rtems4.11-20110107.diff
+%endif
%description
Cross binutils for target mips-rtems4.11