diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-04-13 16:08:21 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-04-13 16:08:21 +0000 |
commit | f85f2f0f09338c8436a6705d22a8741ca599c46a (patch) | |
tree | 7e08a19f4827985792a4db360a5109f0fc177d08 | |
parent | Remove _defaultbuildroot. (diff) | |
download | rtems-f85f2f0f09338c8436a6705d22a8741ca599c46a.tar.bz2 |
Let %install rm -f $RPM_BUILD_ROOT.
-rw-r--r-- | scripts/binutils/binutils.add | 2 | ||||
-rw-r--r-- | scripts/gccnewlib/gccnewlib.add | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/scripts/binutils/binutils.add b/scripts/binutils/binutils.add index 208a940a9c..351dd075c0 100644 --- a/scripts/binutils/binutils.add +++ b/scripts/binutils/binutils.add @@ -59,6 +59,8 @@ cd .. %install + rm -rf $RPM_BUILD_ROOT + cd build make prefix=$RPM_BUILD_ROOT%{_prefix} \ mandir=$RPM_BUILD_ROOT%{_mandir} \ diff --git a/scripts/gccnewlib/gccnewlib.add b/scripts/gccnewlib/gccnewlib.add index a977dd2bdb..2560df7429 100644 --- a/scripts/gccnewlib/gccnewlib.add +++ b/scripts/gccnewlib/gccnewlib.add @@ -255,8 +255,7 @@ cd .. %install export PATH="%{_bindir}:${PATH}" - test $RPM_BUILD_ROOT = "%{_defaultbuildroot}" && \ - rm -rf $RPM_BUILD_ROOT + rm -rf $RPM_BUILD_ROOT cd build # Bug in gcc-2.95.1: It doesn't build this installation directory |