summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorJonathan Perkin <jonathan.perkin@oracle.com>2010-04-26 19:25:58 +0200
committerJonathan Perkin <jonathan.perkin@oracle.com>2010-04-26 19:25:58 +0200
commit036343c3eab737899d22b412d29841f7677dc584 (patch)
treea52409b6e0cfed80bd1c553f1d5cfb376d7f3d6b /support-files
parent4542bc32406f09b9733233a06bd9c5c37165d0b3 (diff)
downloadmariadb-git-036343c3eab737899d22b412d29841f7677dc584.tar.gz
Try removing debuginfo altogether.
Diffstat (limited to 'support-files')
-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}