summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorlenz@mysql.com <>2002-07-15 11:53:05 +0200
committerlenz@mysql.com <>2002-07-15 11:53:05 +0200
commitb287b3ed4434e96f931b962d89c4691c997c03e8 (patch)
treeb1b5360f0e6451d07a550d4f06a48e8efff31fc1 /support-files
parenta66ba919ceca363eebca4ad564e8fcf66d53e323 (diff)
downloadmariadb-git-b287b3ed4434e96f931b962d89c4691c997c03e8.tar.gz
- removed the mit-pthreads subdirectory on Monty's request (mit-pthreads
is now available as a separate downloadable tarball instead) - modified the RPM spec file according to discussions with Monty, Jani, Heikki and David (corrected build options, updated Packager tag)
Diffstat (limited to 'support-files')
-rw-r--r--support-files/mysql.spec.sh34
1 files changed, 25 insertions, 9 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index 372c70327b9..53b93b7b7b5 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -16,7 +16,7 @@ Copyright: GPL / LGPL
Source: http://www.mysql.com/Downloads/MySQL-@MYSQL_BASE_VERSION@/mysql-%{mysql_version}.tar.gz
Icon: mysql.gif
URL: http://www.mysql.com/
-Packager: David Axmark <david@mysql.com>
+Packager: Lenz Grimmer <lenz@mysql.com>
Vendor: MySQL AB
Requires: fileutils sh-utils
Provides: msqlormysql MySQL-server mysql
@@ -217,7 +217,13 @@ export PATH
# We need to build shared libraries separate from mysqld-max because we
# are using --with-other-libc
-BuildMySQL "--disable-shared $USE_OTHER_LIBC_DIR --with-berkeley-db --with-innodb --with-mysqld-ldflags='-all-static' --with-server-suffix='-Max'"
+BuildMySQL "--disable-shared \
+ $USE_OTHER_LIBC_DIR \
+ --with-berkeley-db \
+ --with-innodb \
+ --with-ssl \
+ --with-vio \
+ --with-server-suffix='-Max'"
# Save everything for debug
# tar cf $RBR/all.tar .
@@ -244,11 +250,13 @@ mv Docs/manual.ps.save Docs/manual.ps
# RPM:s destroys Makefile.in files, so we generate them here
automake
-BuildMySQL "--disable-shared" \
- "--with-mysqld-ldflags='-all-static'" \
- "--with-client-ldflags='-all-static'" \
- "$USE_OTHER_LIBC_DIR" \
- "--without-berkeley-db --without-innodb"
+BuildMySQL "--disable-shared \
+ --with-mysqld-ldflags='-all-static' \
+ --with-client-ldflags='-all-static' \
+ $USE_OTHER_LIBC_DIR \
+ --without-berkeley-db \
+ --without-vio \
+ --without-ssl"
nm --numeric-sort sql/mysqld > sql/mysqld.sym
%install -n mysql-%{mysql_version}
@@ -263,8 +271,9 @@ install -d $RBR/usr/share/mysql-test
install -d $RBR%{_mandir}
install -d $RBR/usr/{sbin,share,include}
install -d $RBR/usr/lib
-# Make install
-make install DESTDIR=$RBR benchdir_root=/usr/share/
+# Install all binaries stripped except for mysqld (required for UDFs
+# to work)
+make install-strip DESTDIR=$RBR benchdir_root=/usr/share/
# Install shared libraries (Disable for architectures that don't support it)
(cd $RBR/usr/lib; tar xf $RBR/shared-libs.tar)
@@ -459,6 +468,13 @@ fi
%changelog
+* Mon Jul 15 2002 Lenz Grimmer <lenz@mysql.com>
+
+- Updated Packager information
+- Fixed the build options: the regular package is supposed to
+ include InnoDB and linked statically, while the Max package
+ should include BDB and SSL support
+
* Fri May 03 2002 Lenz Grimmer <lenz@mysql.com>
- Use more RPM macros (e.g. infodir, mandir) to make the spec