[rtems-crossrpms commit] Drop BuildRoot except on el5.
Ralf Corsepius
ralf at rtems.org
Wed Nov 20 18:37:20 UTC 2013
Module: rtems-crossrpms
Branch: rtems-4-10-branch
Commit: cb53509bd7019ab7b9abebfcda512f176a8d4e5e
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=cb53509bd7019ab7b9abebfcda512f176a8d4e5e
Author: Ralf Corsépius <ralf.corsepius at rtems.org>
Date: Wed Apr 3 08:29:23 2013 +0200
Drop BuildRoot except on el5.
---
binutils/binutils.add | 2 +-
gdb/gdb.add | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/binutils/binutils.add b/binutils/binutils.add
index e0ef669..a8ce998 100644
--- a/binutils/binutils.add
+++ b/binutils/binutils.add
@@ -9,7 +9,7 @@ Version: %{binutils_rpmvers}
Release: @BINUTILS_RPMREL@
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%{?el5:BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)}
BuildRequires: %{_host_rpmprefix}gcc
diff --git a/gdb/gdb.add b/gdb/gdb.add
index 05d4cc1..0977879 100644
--- a/gdb/gdb.add
+++ b/gdb/gdb.add
@@ -8,7 +8,7 @@ Version: %{gdb_rpmvers}
Release: @GDB_RPMREL@
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%{?el5:BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)}
BuildRequires: %{_host_rpmprefix}gcc
More information about the vc
mailing list