forked from Imagelibrary/rtems
Suppress debug_install-post for noarch.
This commit is contained in:
@@ -47,7 +47,7 @@ EOF
|
|||||||
chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
|
chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
|
||||||
%define __find_requires %{_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~
|
# Extract %%__debug_install_post into debug_install_post~
|
||||||
cat << \EOF > debug_install_post~
|
cat << \EOF > debug_install_post~
|
||||||
%__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
|
< debug_install_post~ > debug_install_post
|
||||||
%define __debug_install_post . ./debug_install_post
|
%define __debug_install_post . ./debug_install_post
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user