From 1acfd787a7e16d066496caec732367538a5cb922 Mon Sep 17 00:00:00 2001 From: Jonathan Perkin Date: Mon, 26 Apr 2010 19:25:58 +0200 Subject: [PATCH] Try removing debuginfo altogether. --- support-files/mysql.spec.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh index 8520057b71a..b96dc64332a 100644 --- a/support-files/mysql.spec.sh +++ b/support-files/mysql.spec.sh @@ -168,13 +168,8 @@ %define distro_requires coreutils grep procps /sbin/chkconfig /usr/sbin/useradd /usr/sbin/groupadd %endif -# Turn on debuginfo RPMs for SuSE >= 10 -%define debugrpm 0 -%if %{defined suse_version} - %if %suse_version >= 1000 - %define debugrpm 1 - %endif -%endif +# Avoid debuginfo RPMs, leaves binaries unstripped +%define debug_package %{nil} # ---------------------------------------------------------------------------- # Support optional "tcmalloc" library (experimental) @@ -342,7 +337,6 @@ client/server version. For a description of MySQL see the base MySQL RPM or http://www.mysql.com/ ############################################################################## -%{?debugrpm:%debug_package} %prep %setup -T -a 0 -c -n %{src_dir}