diff --git a/mysql.spec b/mysql.spec index 935e2c7..e8fedcc 100644 --- a/mysql.spec +++ b/mysql.spec @@ -1,10 +1,11 @@ Name: mysql Version: 3.23.41 -Release: 1 +Release: 1a Source0: http://www.mysql.com/Downloads/MySQL-3.23/mysql-%{version}.tar.bz2 Source1: mysql.init Source2: mysql.logrotate Source3: my.cnf +Patch1: mysql-3.23.33-s390.patch URL: http://www.mysql.com BuildRoot: %{_tmppath}/%{name}-%{version}-root Summary: MySQL client programs and shared library. @@ -54,7 +55,8 @@ package contains the libraries and header files that are needed for developing MySQL applications. %prep -%setup -q +%setup -q +%patch1 -p1 -b .s390 %build CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" @@ -70,15 +72,15 @@ CXXFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" --with-mysqld-user="mysql" \ --with-extra-charsets=all \ --disable-assember \ -%ifnarch alpha +%ifnarch alpha s390 s390x --with-berkeley-db --enable-large-files=yes --enable-largefile=yes \ %endif --with-thread-safe-client \ - --enable-assembler + --enable-assembler make make check -%ifnarch s390 s390x ia64 +%ifnarch ia64 make test %endif @@ -199,6 +201,9 @@ fi /usr/lib/mysql/libmysqlclient*.so %changelog +* Wed Oct 24 2001 Phil Knirsch +- S390 fix. + * Tue Aug 14 2001 Trond Eivind Glomsrød 3.23.41-1 - 3.23.41 bugfix release - disable innodb, to avoid the broken updates