[tog-pegasus] Don't strip binaries

vcrhonek vcrhonek at fedoraproject.org
Tue Mar 1 11:20:52 UTC 2011


commit b1d60b9c4c36d799edf5b997002d0262c5f36b08
Author: Vitezslav Crhonek <vcrhonek at redhat.com>
Date:   Tue Mar 1 12:20:40 2011 +0100

    Don't strip binaries

 pegasus-2.10.0-dont-strip.patch |   12 ++++++++++++
 tog-pegasus.spec                |    8 +++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/pegasus-2.10.0-dont-strip.patch b/pegasus-2.10.0-dont-strip.patch
new file mode 100644
index 0000000..65ae432
--- /dev/null
+++ b/pegasus-2.10.0-dont-strip.patch
@@ -0,0 +1,12 @@
+diff -up pegasus/mak/config-linux.mak.orig pegasus/mak/config-linux.mak
+--- pegasus/mak/config-linux.mak.orig	2011-02-28 16:28:23.223507762 +0100
++++ pegasus/mak/config-linux.mak	2011-02-28 16:29:37.946019681 +0100
+@@ -106,7 +106,7 @@ DYNAMIC_FLAGS += -fPIC
+ ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS
+   FLAGS += -g
+ else
+-  FLAGS += -s
++  #FLAGS += -s
+   #
+   # The -fno-enforce-eh-specs is not available in 2.9.5 and it probably
+   # appeared in the 3.0 series of compilers.
diff --git a/tog-pegasus.spec b/tog-pegasus.spec
index cbbec34..d06c10d 100644
--- a/tog-pegasus.spec
+++ b/tog-pegasus.spec
@@ -8,7 +8,7 @@
 
 Name:           tog-pegasus
 Version:        %{major_ver}.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Epoch:          2
 Summary:        OpenPegasus WBEM Services for Linux
 
@@ -58,6 +58,8 @@ Patch15:        pegasus-2.9.0-openssl.patch
 Patch16:        pegasus-2.9.1-getpagesize.patch
 # 18: Let the makefile install initscript we want to use
 Patch18:        pegasus-2.9.1-makefile-initscript.patch
+# 19: Don't strip binaries
+Patch19:        pegasus-2.10.0-dont-strip.patch
 
 BuildRequires:  bash, sed, grep, coreutils, procps, gcc, gcc-c++
 BuildRequires:  libstdc++, make, pam-devel
@@ -182,6 +184,7 @@ The OpenPegasus WBEM tests for the OpenPegasus %{version} Linux rpm.
 %patch0 -p1 -b .initscript
 %patch16 -p1 -b .getpagesize
 %patch18 -p1 -b .makefile-initscript
+%patch19 -p1 -b .dont-strip
 
 
 %build
@@ -400,6 +403,9 @@ fi
 
 
 %changelog
+* Tue Mar 01 2011 Vitezslav Crhonek <vcrhonek at redhat.com> - 2:2.10.1-3
+- Don't strip binaries
+
 * Thu Feb 17 2011 Vitezslav Crhonek <vcrhonek at redhat.com> - 2:2.10.1-2
 - Remove dubuginfo files from -libs subpackage
 


More information about the scm-commits mailing list