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