diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-11-10 10:14:55 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-11-10 10:14:55 +0000 |
commit | f8552286c822fd04fac57a0ca39bdeb7dd577e7c (patch) | |
tree | 6637c524577d73365c4a21528c248c083527e1da | |
parent | 2008-11-07 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-f8552286c822fd04fac57a0ca39bdeb7dd577e7c.tar.bz2 |
Suppress debug_install-post for noarch.
-rw-r--r-- | contrib/crossrpms/gcc/rpm-install.add | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/crossrpms/gcc/rpm-install.add b/contrib/crossrpms/gcc/rpm-install.add index b6014fd66a..3f00749d5b 100644 --- a/contrib/crossrpms/gcc/rpm-install.add +++ b/contrib/crossrpms/gcc/rpm-install.add @@ -47,7 +47,7 @@ EOF chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires %define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires - +%ifnarch noarch # Extract %%__debug_install_post into debug_install_post~ cat << \EOF > debug_install_post~ %__debug_install_post @@ -69,4 +69,5 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \ < debug_install_post~ > debug_install_post %define __debug_install_post . ./debug_install_post +%endif |