diff --git a/mysql.spec b/mysql.spec index e8fedcc..2f70541 100644 --- a/mysql.spec +++ b/mysql.spec @@ -1,11 +1,10 @@ Name: mysql Version: 3.23.41 -Release: 1a +Release: 2 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. @@ -55,8 +54,7 @@ package contains the libraries and header files that are needed for developing MySQL applications. %prep -%setup -q -%patch1 -p1 -b .s390 +%setup -q %build CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" @@ -72,15 +70,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 s390 s390x +%ifnarch alpha --with-berkeley-db --enable-large-files=yes --enable-largefile=yes \ %endif --with-thread-safe-client \ - --enable-assembler + --enable-assembler make make check -%ifnarch ia64 +%ifnarch s390 s390x ia64 make test %endif @@ -201,8 +199,8 @@ fi /usr/lib/mysql/libmysqlclient*.so %changelog -* Wed Oct 24 2001 Phil Knirsch -- S390 fix. +* Wed Sep 12 2001 Tim Powers +- rebuild with new gcc and binutils * Tue Aug 14 2001 Trond Eivind Glomsrød 3.23.41-1 - 3.23.41 bugfix release