Don't strip binaries

This commit is contained in:
Vitezslav Crhonek 2011-03-01 12:20:40 +01:00
parent f3445bdf30
commit b1d60b9c4c
2 changed files with 19 additions and 1 deletions

View File

@ -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.

View File

@ -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@redhat.com> - 2:2.10.1-3
- Don't strip binaries
* Thu Feb 17 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.10.1-2
- Remove dubuginfo files from -libs subpackage