auto-import changelog data from mysql-3.23.40-1.src.rpm
Sat Jul 21 2001 Trond Eivind Glomsrød <teg@redhat.com> - 3.23.40, bugfix release - Add zlib-devel to buildrequires: Fri Jul 20 2001 Trond Eivind Glomsrød <teg@redhat.com> - BuildRequires-tweaking Thu Jun 28 2001 Trond Eivind Glomsrød <teg@redhat.com> - Reenable test, but don't run them for s390, s390x or ia64 - Make /etc/my.cnf config(noplace). Same for /etc/logrotate.d/mysqld Thu Jun 14 2001 Trond Eivind Glomsrød <teg@redhat.com> - 3.23.29 - enable innodb - enable assembly again - disable tests for now..
This commit is contained in:
parent
ec49b0608b
commit
a6c3d38434
@ -1 +1 @@
|
|||||||
mysql-3.23.38.tar.bz2
|
mysql-3.23.40.tar.bz2
|
||||||
|
@ -33,7 +33,7 @@ start(){
|
|||||||
return $ret
|
return $ret
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
chown mysql.mysql /var/lib/mysql
|
chown -R mysql.mysql /var/lib/mysql
|
||||||
chmod 0755 /var/lib/mysql
|
chmod 0755 /var/lib/mysql
|
||||||
/usr/bin/safe_mysqld --defaults-file=/etc/my.cnf >/dev/null 2>&1 &
|
/usr/bin/safe_mysqld --defaults-file=/etc/my.cnf >/dev/null 2>&1 &
|
||||||
ret=$?
|
ret=$?
|
||||||
|
39
mysql.spec
39
mysql.spec
@ -1,17 +1,18 @@
|
|||||||
Name: mysql
|
Name: mysql
|
||||||
Version: 3.23.38
|
Version: 3.23.40
|
||||||
Release: 2a
|
Release: 1
|
||||||
Source0: http://www.mysql.com/Downloads/MySQL-3.23/mysql-%{version}.tar.bz2
|
Source0: http://www.mysql.com/Downloads/MySQL-3.23/mysql-%{version}.tar.bz2
|
||||||
Source1: mysql.init
|
Source1: mysql.init
|
||||||
Source2: mysql.logrotate
|
Source2: mysql.logrotate
|
||||||
Source3: my.cnf
|
Source3: my.cnf
|
||||||
URL: http://www.mysql.com
|
URL: http://www.mysql.com
|
||||||
BuildRoot: %{_tmppath}/mysql-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
Summary: MySQL client program and shared library
|
Summary: MySQL client program and shared library
|
||||||
License: GPL/LGPL
|
License: GPL/LGPL
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
Prereq: /sbin/ldconfig, /sbin/install-info, grep, fileutils, chkconfig
|
Prereq: /sbin/ldconfig, /sbin/install-info, grep, fileutils, chkconfig
|
||||||
BuildRequires: gperf, perl, db3-devel, readline-devel
|
BuildRequires: gperf, perl, db3-devel, readline-devel
|
||||||
|
BuildRequires: gcc-c++, ncurses-devel, zlib-devel
|
||||||
Requires: bash >= 2
|
Requires: bash >= 2
|
||||||
Conflicts: MySQL
|
Conflicts: MySQL
|
||||||
Obsoletes: mysql-client mysql-bench mysql-perl
|
Obsoletes: mysql-client mysql-bench mysql-perl
|
||||||
@ -59,8 +60,8 @@ header files that are needed for developing your own MySQL applications.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags} -D_GNU_SOURCE"
|
CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
|
||||||
CXXFLAGS="%{optflags} -D_GNU_SOURCE"
|
CXXFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
|
||||||
|
|
||||||
%configure --without-debug \
|
%configure --without-debug \
|
||||||
--without-readline \
|
--without-readline \
|
||||||
@ -71,6 +72,8 @@ CXXFLAGS="%{optflags} -D_GNU_SOURCE"
|
|||||||
--with-unix-socket-path=/var/lib/mysql/mysql.sock \
|
--with-unix-socket-path=/var/lib/mysql/mysql.sock \
|
||||||
--with-mysqld-user="mysql" \
|
--with-mysqld-user="mysql" \
|
||||||
--with-extra-charsets=all \
|
--with-extra-charsets=all \
|
||||||
|
--with-innodb \
|
||||||
|
--enable-assembler \
|
||||||
%ifnarch alpha
|
%ifnarch alpha
|
||||||
--with-berkeley-db --enable-large-files=yes --enable-largefile=yes \
|
--with-berkeley-db --enable-large-files=yes --enable-largefile=yes \
|
||||||
%endif
|
%endif
|
||||||
@ -78,7 +81,7 @@ CXXFLAGS="%{optflags} -D_GNU_SOURCE"
|
|||||||
|
|
||||||
make
|
make
|
||||||
make check
|
make check
|
||||||
%ifnarch s390 s390x
|
%ifnarch s390 s390x ia64
|
||||||
make test
|
make test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -125,7 +128,7 @@ if [ $1 = 1 ]; then
|
|||||||
/sbin/chkconfig --add mysqld
|
/sbin/chkconfig --add mysqld
|
||||||
fi
|
fi
|
||||||
/bin/chmod 0755 /var/lib/mysql
|
/bin/chmod 0755 /var/lib/mysql
|
||||||
|
/bin/touch /var/log/mysqld.log
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 = 0 ]; then
|
||||||
@ -148,6 +151,7 @@ if [ $1 = 0 ] ; then
|
|||||||
/sbin/ldconfig /usr/lib/mysql
|
/sbin/ldconfig /usr/lib/mysql
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
%postun server
|
%postun server
|
||||||
if [ $1 -ge 1 ]; then
|
if [ $1 -ge 1 ]; then
|
||||||
/sbin/service mysqld condrestart >/dev/null 2>&1 || :
|
/sbin/service mysqld condrestart >/dev/null 2>&1 || :
|
||||||
@ -177,7 +181,7 @@ fi
|
|||||||
%dir /usr/share/mysql
|
%dir /usr/share/mysql
|
||||||
/usr/share/mysql/*
|
/usr/share/mysql/*
|
||||||
|
|
||||||
%config /etc/my.cnf
|
%config(noreplace) /etc/my.cnf
|
||||||
|
|
||||||
%files server
|
%files server
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -186,7 +190,7 @@ fi
|
|||||||
/usr/libexec/*
|
/usr/libexec/*
|
||||||
/etc/rc.d/init.d/mysqld
|
/etc/rc.d/init.d/mysqld
|
||||||
%attr(0755,mysql,mysql) %dir /var/run/mysqld
|
%attr(0755,mysql,mysql) %dir /var/run/mysqld
|
||||||
%config /etc/logrotate.d/mysqld
|
%config(noreplace) /etc/logrotate.d/mysqld
|
||||||
%attr(0755,mysql,mysql) %dir /var/lib/mysql
|
%attr(0755,mysql,mysql) %dir /var/lib/mysql
|
||||||
%ghost %attr(0640,mysql,mysql) /var/log/mysqld.log
|
%ghost %attr(0640,mysql,mysql) /var/log/mysqld.log
|
||||||
|
|
||||||
@ -198,6 +202,23 @@ fi
|
|||||||
/usr/lib/mysql/libmysqlclient*.so
|
/usr/lib/mysql/libmysqlclient*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 21 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- 3.23.40, bugfix release
|
||||||
|
- Add zlib-devel to buildrequires:
|
||||||
|
|
||||||
|
* Fri Jul 20 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- BuildRequires-tweaking
|
||||||
|
|
||||||
|
* Thu Jun 28 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- Reenable test, but don't run them for s390, s390x or ia64
|
||||||
|
- Make /etc/my.cnf config(noplace). Same for /etc/logrotate.d/mysqld
|
||||||
|
|
||||||
|
* Thu Jun 14 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- 3.23.29
|
||||||
|
- enable innodb
|
||||||
|
- enable assembly again
|
||||||
|
- disable tests for now..
|
||||||
|
|
||||||
* Tue May 15 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
* Tue May 15 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
- 3.23.38
|
- 3.23.38
|
||||||
- Don't use BDB on Alpha - no fast mutexes
|
- Don't use BDB on Alpha - no fast mutexes
|
||||||
|
Loading…
Reference in New Issue
Block a user