summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorJonathan Perkin <jonathan.perkin@oracle.com>2010-04-27 12:09:55 +0200
committerJonathan Perkin <jonathan.perkin@oracle.com>2010-04-27 12:09:55 +0200
commitb2c44afba95f37e872bb7b247560ec70e4444598 (patch)
tree18fcca11199d908d44109ad4167581fb2070053e /support-files
parent036343c3eab737899d22b412d29841f7677dc584 (diff)
downloadmariadb-git-b2c44afba95f37e872bb7b247560ec70e4444598.tar.gz
Avoid __os_install_post RHEL5 bug by redefining __strip.
Diffstat (limited to 'support-files')
-rw-r--r--support-files/mysql.spec.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index b96dc64332a..0a100fd919c 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -171,6 +171,10 @@
# Avoid debuginfo RPMs, leaves binaries unstripped
%define debug_package %{nil}
+# Hack to work around bug in RHEL5 __os_install_post macro, wrong inverted
+# test for __debug_package
+%define __strip /bin/true
+
# ----------------------------------------------------------------------------
# Support optional "tcmalloc" library (experimental)
# ----------------------------------------------------------------------------