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