From f2a03dfd112e23564b961903cda6639b3345d3c2 Mon Sep 17 00:00:00 2001 From: Scott Barninger Date: Sun, 27 Jan 2008 15:27:24 +0000 Subject: [PATCH] Force stripping of binaries for suse. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6331 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/platforms/mandrake/bacula.spec.in | 12 +++++++++++- bacula/platforms/redhat/bacula.spec.in | 12 +++++++++++- bacula/platforms/suse/bacula.spec.in | 12 +++++++++++- 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/bacula/platforms/mandrake/bacula.spec.in b/bacula/platforms/mandrake/bacula.spec.in index bbfd7b7061..9701783674 100644 --- a/bacula/platforms/mandrake/bacula.spec.in +++ b/bacula/platforms/mandrake/bacula.spec.in @@ -1182,6 +1182,13 @@ This is the Bacula Administration Tool package. It is an add-on to the client or server packages. %endif +# SuSE turns off stripping of binaries by default. In order to get +# stripped packages we must generate debug package. RedHat and Mandriva +# turn debug packages on by default but strip binaries regardless. +%if %{su9} || %{su10} || %{su102} || %{su103} +%debug_package +%endif + %prep %setup @@ -2228,8 +2235,11 @@ fi %endif %changelog +* Sun Jan 27 2008 D. Scott Barninger +- 2.2.8 release +- add debug package for SuSE * Sat Jan 12 2008 D. Scott Barninger -- 2.2.8 release +- 2.2.8 beta release - fix bug 1037 - add fc8 target * Sun Dec 30 2007 D. Scott Barninger diff --git a/bacula/platforms/redhat/bacula.spec.in b/bacula/platforms/redhat/bacula.spec.in index bbfd7b7061..9701783674 100644 --- a/bacula/platforms/redhat/bacula.spec.in +++ b/bacula/platforms/redhat/bacula.spec.in @@ -1182,6 +1182,13 @@ This is the Bacula Administration Tool package. It is an add-on to the client or server packages. %endif +# SuSE turns off stripping of binaries by default. In order to get +# stripped packages we must generate debug package. RedHat and Mandriva +# turn debug packages on by default but strip binaries regardless. +%if %{su9} || %{su10} || %{su102} || %{su103} +%debug_package +%endif + %prep %setup @@ -2228,8 +2235,11 @@ fi %endif %changelog +* Sun Jan 27 2008 D. Scott Barninger +- 2.2.8 release +- add debug package for SuSE * Sat Jan 12 2008 D. Scott Barninger -- 2.2.8 release +- 2.2.8 beta release - fix bug 1037 - add fc8 target * Sun Dec 30 2007 D. Scott Barninger diff --git a/bacula/platforms/suse/bacula.spec.in b/bacula/platforms/suse/bacula.spec.in index bbfd7b7061..9701783674 100644 --- a/bacula/platforms/suse/bacula.spec.in +++ b/bacula/platforms/suse/bacula.spec.in @@ -1182,6 +1182,13 @@ This is the Bacula Administration Tool package. It is an add-on to the client or server packages. %endif +# SuSE turns off stripping of binaries by default. In order to get +# stripped packages we must generate debug package. RedHat and Mandriva +# turn debug packages on by default but strip binaries regardless. +%if %{su9} || %{su10} || %{su102} || %{su103} +%debug_package +%endif + %prep %setup @@ -2228,8 +2235,11 @@ fi %endif %changelog +* Sun Jan 27 2008 D. Scott Barninger +- 2.2.8 release +- add debug package for SuSE * Sat Jan 12 2008 D. Scott Barninger -- 2.2.8 release +- 2.2.8 beta release - fix bug 1037 - add fc8 target * Sun Dec 30 2007 D. Scott Barninger -- 2.39.5