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

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