summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorkostja@bodhi.local <>2006-07-13 22:09:36 +0400
committerkostja@bodhi.local <>2006-07-13 22:09:36 +0400
commitd7845b74db59efb3bc8ffc74cbe3a3d7c5607196 (patch)
tree42abdb25b1b2f8d856888f75545406d835075a65 /support-files
parentf6303a8cfb6aead0681ce33eac303eed454c659d (diff)
parentf62829636b5bdec183610acfba53ca18e0dd2f98 (diff)
downloadmariadb-git-d7845b74db59efb3bc8ffc74cbe3a3d7c5607196.tar.gz
Merge bodhi.local:/opt/local/work/tmp_merge
into bodhi.local:/opt/local/work/mysql-5.1-runtime-merge-5.0
Diffstat (limited to 'support-files')
-rw-r--r--support-files/mysql.spec.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index 1c22fb2586b..a961fc145a9 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -28,6 +28,23 @@
%define see_base For a description of MySQL see the base MySQL RPM or http://www.mysql.com
+# On SuSE 9 no separate "debuginfo" package is built. To enable basic
+# debugging on that platform, we don't strip binaries on SuSE 9. We
+# disable the strip of binaries by redefining the RPM macro
+# "__os_install_post" leaving out the script calls that normally does
+# this. We do this in all cases, as on platforms where "debuginfo" is
+# created, a script "find-debuginfo.sh" will be called that will do
+# the strip anyway, part of separating the executable and debug
+# information into separate files put into separate packages.
+#
+# Some references (shows more advanced conditional usage):
+# http://www.redhat.com/archives/rpm-list/2001-November/msg00257.html
+# http://www.redhat.com/archives/rpm-list/2003-February/msg00275.html
+# http://www.redhat.com/archives/rhl-devel-list/2004-January/msg01546.html
+# http://lists.opensuse.org/archive/opensuse-commit/2006-May/1171.html
+
+%define __os_install_post /usr/lib/rpm/brp-compress
+
Name: MySQL
Summary: MySQL: a very fast and reliable SQL database server
Group: Applications/Databases