summaryrefslogtreecommitdiff
path: root/support-files/mysql.spec.sh
diff options
context:
space:
mode:
Diffstat (limited to 'support-files/mysql.spec.sh')
-rw-r--r--support-files/mysql.spec.sh10
1 files 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}