Blame SOURCES/redhat-rpm-config-9.1.0-no-strip-note.patch

eaaa62
commit 055d0b77e1e2823daef60a4c2b201531dc0c7248
eaaa62
Author: Panu Matilainen <pmatilai@redhat.com>
eaaa62
Date:   Mon Mar 1 10:58:17 2010 +0200
eaaa62
eaaa62
    Don't run brp-strip-comment-note when find-debuginfo.sh is run (#568924)
eaaa62
    - brp-strip-comment-note is not only unnecessary here but is also
eaaa62
      now messing up things by resetting EI_OSABI to zero (#568921)
eaaa62
    - patch from  Roland McGrath
eaaa62
eaaa62
diff --git a/macros b/macros
eaaa62
index 7721fe0..1ac46d7 100644
eaaa62
--- a/macros
eaaa62
+++ b/macros
eaaa62
@@ -92,9 +92,11 @@
eaaa62
 
eaaa62
 %__os_install_post    \
eaaa62
     /usr/lib/rpm/redhat/brp-compress \
eaaa62
-    %{!?__debug_package:/usr/lib/rpm/redhat/brp-strip %{__strip}} \
eaaa62
-    /usr/lib/rpm/redhat/brp-strip-static-archive %{__strip} \
eaaa62
+    %{!?__debug_package:\
eaaa62
+    /usr/lib/rpm/redhat/brp-strip %{__strip} \
eaaa62
     /usr/lib/rpm/redhat/brp-strip-comment-note %{__strip} %{__objdump} \
eaaa62
+    } \
eaaa62
+    /usr/lib/rpm/redhat/brp-strip-static-archive %{__strip} \
eaaa62
     /usr/lib/rpm/brp-python-bytecompile %{__python} %{?_python_bytecompile_errors_terminate_build} \
eaaa62
     /usr/lib/rpm/redhat/brp-python-hardlink \
eaaa62
     %{!?__jar_repack:/usr/lib/rpm/redhat/brp-java-repack-jars} \