auto-import changelog data from mysql-3.23.54a-11.src.rpm
Tue Feb 18 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.54a-11 - enable thread safe client - add patch for double free fix Wed Jan 22 2003 Tim Powers <timp@redhat.com> - rebuilt Mon Jan 13 2003 Karsten Hopp <karsten@redhat.de> 3.23.54a-9 - disable checks on s390x Sat Jan 04 2003 Jeff Johnson <jbj@redhat.com> 3.23.54a-8 - use internal dep generator. Wed Jan 01 2003 Bill Nottingham <notting@redhat.com> 3.23.54a-7 - fix mysql_config on hammer Sun Dec 22 2002 Tim Powers <timp@redhat.com> 3.23.54a-6 - don't use rpms internal dep generator Tue Dec 17 2002 Elliot Lee <sopwith@redhat.com> 3.23.54a-5 - Push it into the build system
This commit is contained in:
parent
a1ede3ac06
commit
5af4972e6f
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
/usr/lib/rpm/find-requires $* | grep -v "perl(the"
|
/usr/lib/rpm/perl.req $* | grep -v "perl(the"
|
||||||
|
146
mysql.spec
146
mysql.spec
@ -1,6 +1,6 @@
|
|||||||
Name: mysql
|
Name: mysql
|
||||||
Version: 3.23.54a
|
Version: 3.23.54a
|
||||||
Release: 4
|
Release: 11
|
||||||
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
|
||||||
@ -8,7 +8,9 @@ Source3: my.cnf
|
|||||||
# Working around perl dependency checking bug in rpm FTTB. Remove later.
|
# Working around perl dependency checking bug in rpm FTTB. Remove later.
|
||||||
Source999: filter-requires-mysql.sh
|
Source999: filter-requires-mysql.sh
|
||||||
Patch0: mysql-3.23.51-manfixes.patch
|
Patch0: mysql-3.23.51-manfixes.patch
|
||||||
|
Patch1: mysql-3.23.54-libdir.patch
|
||||||
Patch2: mysql-errno.patch
|
Patch2: mysql-errno.patch
|
||||||
|
Patch3: mysql-3.23.54a-doublefree.patch
|
||||||
URL: http://www.mysql.com
|
URL: http://www.mysql.com
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
Summary: MySQL client programs and shared library.
|
Summary: MySQL client programs and shared library.
|
||||||
@ -17,15 +19,14 @@ Group: Applications/Databases
|
|||||||
Prereq: /sbin/ldconfig, /sbin/install-info, grep, fileutils, chkconfig
|
Prereq: /sbin/ldconfig, /sbin/install-info, grep, fileutils, chkconfig
|
||||||
BuildRequires: gperf, perl, readline-devel
|
BuildRequires: gperf, perl, readline-devel
|
||||||
BuildRequires: gcc-c++, ncurses-devel, zlib-devel
|
BuildRequires: gcc-c++, ncurses-devel, zlib-devel
|
||||||
|
BuildRequires: libtool automake autoconf
|
||||||
Requires: bash
|
Requires: bash
|
||||||
Conflicts: MySQL
|
Conflicts: MySQL
|
||||||
Requires: perl-DBI, perl-DBD-MySQL
|
Requires: perl-DBI, perl-DBD-MySQL
|
||||||
Obsoletes: mysql-client mysql-bench mysql-perl
|
Obsoletes: mysql-client mysql-bench mysql-perl
|
||||||
ExcludeArch: alpha
|
|
||||||
|
|
||||||
# Working around perl dependency checking bug in rpm FTTB. Remove later.
|
# Working around perl dependency checking bug in rpm FTTB. Remove later.
|
||||||
%define __find_requires %{SOURCE999}
|
%define __perl_requires %{SOURCE999}
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
|
MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
|
||||||
@ -67,17 +68,31 @@ developing MySQL applications.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
|
libtoolize --force
|
||||||
|
aclocal
|
||||||
|
automake
|
||||||
|
autoconf
|
||||||
|
autoheader
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
|
CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
|
||||||
CXXFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-rtti -fno-exceptions"
|
%ifarch alpha
|
||||||
|
# Can't link C++ objects into an executable without this. Odd!
|
||||||
|
# -ECL 2002-12-19
|
||||||
|
CFLAGS="$CFLAGS -fPIC"
|
||||||
|
%endif
|
||||||
|
CXXFLAGS="$CFLAGS -fno-rtti -fno-exceptions"
|
||||||
export CFLAGS CXXFLAGS
|
export CFLAGS CXXFLAGS
|
||||||
|
|
||||||
#CPPFLAGS="$CFLAGS"
|
#CPPFLAGS="$CFLAGS"
|
||||||
#export CPPFLAGS
|
#export CPPFLAGS
|
||||||
|
|
||||||
#configure --without-debug \
|
#configure --without-debug \
|
||||||
./configure --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} --bindir=%{_bindir} --datadir=%{_datadir} --libdir=%{_libdir} --mandir=%{_mandir} --infodir=%{_infodir} \
|
%configure \
|
||||||
--without-readline \
|
--without-readline \
|
||||||
--without-debug \
|
--without-debug \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
@ -90,16 +105,15 @@ export CFLAGS CXXFLAGS
|
|||||||
--with-innodb \
|
--with-innodb \
|
||||||
--enable-local-infile \
|
--enable-local-infile \
|
||||||
--enable-large-files=yes --enable-largefile=yes \
|
--enable-large-files=yes --enable-largefile=yes \
|
||||||
%ifnarch alpha ppc
|
--with-berkeley-db-includes=%{_includedir} \
|
||||||
--with-berkeley-db \
|
--with-berkeley-db-libs=%{_libdir} \
|
||||||
%endif
|
--enable-thread-safe-client
|
||||||
--with-thread-safe-client
|
|
||||||
|
|
||||||
# Not enabling assembler
|
# Not enabling assembler
|
||||||
|
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
make check
|
make check
|
||||||
%ifnarch s390 s390x x86_64
|
%ifnarch ppc alpha s390x
|
||||||
make test
|
make test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -113,9 +127,9 @@ touch $RPM_BUILD_ROOT/var/log/mysqld.log
|
|||||||
|
|
||||||
# List the installed tree for RPM package maintenance purposes.
|
# List the installed tree for RPM package maintenance purposes.
|
||||||
find $RPM_BUILD_ROOT -print | sed "s|^$RPM_BUILD_ROOT||" | sort > ROOTFILES
|
find $RPM_BUILD_ROOT -print | sed "s|^$RPM_BUILD_ROOT||" | sort > ROOTFILES
|
||||||
gzip $RPM_BUILD_ROOT/%{_infodir}/*
|
gzip ${RPM_BUILD_ROOT}%{_infodir}/*
|
||||||
rm -f $RPM_BUILD_ROOT/usr/share/mysql/mysql-*.spec
|
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/mysql-*.spec
|
||||||
rm -f $RPM_BUILD_ROOT/usr/share/mysql/mysql-log-rotate
|
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/mysql-log-rotate
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/{rc.d/init.d,logrotate.d}
|
mkdir -p $RPM_BUILD_ROOT/etc/{rc.d/init.d,logrotate.d}
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/run/mysqld
|
mkdir -p $RPM_BUILD_ROOT/var/run/mysqld
|
||||||
@ -129,12 +143,12 @@ rm -f $RPM_BUILD_ROOT/%{_infodir}/dir*
|
|||||||
rm -f Docs/manual.ps
|
rm -f Docs/manual.ps
|
||||||
rm -fr $RPM_BUILD_ROOT/usr/sql-bench
|
rm -fr $RPM_BUILD_ROOT/usr/sql-bench
|
||||||
rm -fr $RPM_BUILD_ROOT/usr/mysql-test
|
rm -fr $RPM_BUILD_ROOT/usr/mysql-test
|
||||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/mysql/libmysqlclient.la
|
rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqlclient*.la
|
||||||
rm -f $RPM_BUILD_ROOT/usr/share/mysql/binary-configure
|
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/binary-configure
|
||||||
rm -f $RPM_BUILD_ROOT/usr/share/mysql/make_binary_distribution
|
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/make_binary_distribution
|
||||||
rm -f $RPM_BUILD_ROOT/usr/share/mysql/mi_test_all*
|
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/mi_test_all*
|
||||||
rm -f $RPM_BUILD_ROOT/usr/share/mysql/*.cnf
|
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/*.cnf
|
||||||
rm -f $RPM_BUILD_ROOT/usr/share/mysql/mysql.server
|
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/mysql.server
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -192,51 +206,51 @@ fi
|
|||||||
%doc Docs/manual* Docs/mysqld_error.txt
|
%doc Docs/manual* Docs/mysqld_error.txt
|
||||||
|
|
||||||
# /usr/bin/* except mysqladmin and safe_mysqld
|
# /usr/bin/* except mysqladmin and safe_mysqld
|
||||||
/usr/bin/[a-ln-rt-z]*
|
%{_bindir}/[a-ln-rt-z]*
|
||||||
/usr/bin/msql2mysql
|
%{_bindir}/msql2mysql
|
||||||
/usr/bin/mysql
|
%{_bindir}/mysql
|
||||||
/usr/bin/mysql_*
|
%{_bindir}/mysql_*
|
||||||
/usr/bin/mysqlaccess
|
%{_bindir}/mysqlaccess
|
||||||
/usr/bin/mysql[b-z]*
|
%{_bindir}/mysql[b-z]*
|
||||||
/usr/bin/my_*
|
%{_bindir}/my_*
|
||||||
/usr/bin/myisam*
|
%{_bindir}/myisam*
|
||||||
|
|
||||||
%{_infodir}/*
|
%{_infodir}/*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%dir %{_libdir}/mysql
|
%dir %{_libdir}/mysql
|
||||||
%{_libdir}/mysql/libmysqlclient*.so.*
|
%{_libdir}/mysql/libmysqlclient*.so.*
|
||||||
|
|
||||||
%dir /usr/share/mysql
|
%dir %{_datadir}/mysql
|
||||||
/usr/share/mysql/english
|
%{_datadir}/mysql/english
|
||||||
%lang(cs) /usr/share/mysql/czech
|
%lang(cs) %{_datadir}/mysql/czech
|
||||||
%lang(da) /usr/share/mysql/danish
|
%lang(da) %{_datadir}/mysql/danish
|
||||||
%lang(nl) /usr/share/mysql/dutch
|
%lang(nl) %{_datadir}/mysql/dutch
|
||||||
%lang(et) /usr/share/mysql/estonian
|
%lang(et) %{_datadir}/mysql/estonian
|
||||||
%lang(fr) /usr/share/mysql/french
|
%lang(fr) %{_datadir}/mysql/french
|
||||||
%lang(de) /usr/share/mysql/german
|
%lang(de) %{_datadir}/mysql/german
|
||||||
%lang(el) /usr/share/mysql/greek
|
%lang(el) %{_datadir}/mysql/greek
|
||||||
%lang(hu) /usr/share/mysql/hungarian
|
%lang(hu) %{_datadir}/mysql/hungarian
|
||||||
%lang(it) /usr/share/mysql/italian
|
%lang(it) %{_datadir}/mysql/italian
|
||||||
%lang(ja) /usr/share/mysql/japanese
|
%lang(ja) %{_datadir}/mysql/japanese
|
||||||
%lang(ko) /usr/share/mysql/korean
|
%lang(ko) %{_datadir}/mysql/korean
|
||||||
%lang(no) /usr/share/mysql/norwegian
|
%lang(no) %{_datadir}/mysql/norwegian
|
||||||
%lang(no) /usr/share/mysql/norwegian-ny
|
%lang(no) %{_datadir}/mysql/norwegian-ny
|
||||||
%lang(pl) /usr/share/mysql/polish
|
%lang(pl) %{_datadir}/mysql/polish
|
||||||
%lang(pt) /usr/share/mysql/portuguese
|
%lang(pt) %{_datadir}/mysql/portuguese
|
||||||
%lang(ro) /usr/share/mysql/romanian
|
%lang(ro) %{_datadir}/mysql/romanian
|
||||||
%lang(ru) /usr/share/mysql/russian
|
%lang(ru) %{_datadir}/mysql/russian
|
||||||
%lang(sk) /usr/share/mysql/slovak
|
%lang(sk) %{_datadir}/mysql/slovak
|
||||||
%lang(es) /usr/share/mysql/spanish
|
%lang(es) %{_datadir}/mysql/spanish
|
||||||
%lang(sv) /usr/share/mysql/swedish
|
%lang(sv) %{_datadir}/mysql/swedish
|
||||||
%lang(uk) /usr/share/mysql/ukrainian
|
%lang(uk) %{_datadir}/mysql/ukrainian
|
||||||
/usr/share/mysql/charsets
|
%{_datadir}/mysql/charsets
|
||||||
%config(noreplace) /etc/my.cnf
|
%config(noreplace) /etc/my.cnf
|
||||||
|
|
||||||
%files server
|
%files server
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc support-files/*.cnf
|
%doc support-files/*.cnf
|
||||||
/usr/bin/mysqladmin
|
%{_bindir}/mysqladmin
|
||||||
/usr/bin/safe_mysqld
|
%{_bindir}/safe_mysqld
|
||||||
/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
|
||||||
@ -252,6 +266,28 @@ fi
|
|||||||
%{_libdir}/mysql/libmysqlclient*.so
|
%{_libdir}/mysql/libmysqlclient*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 18 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.54a-11
|
||||||
|
- enable thread safe client
|
||||||
|
- add patch for double free fix
|
||||||
|
|
||||||
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Mon Jan 13 2003 Karsten Hopp <karsten@redhat.de> 3.23.54a-9
|
||||||
|
- disable checks on s390x
|
||||||
|
|
||||||
|
* Sat Jan 4 2003 Jeff Johnson <jbj@redhat.com> 3.23.54a-8
|
||||||
|
- use internal dep generator.
|
||||||
|
|
||||||
|
* Wed Jan 1 2003 Bill Nottingham <notting@redhat.com> 3.23.54a-7
|
||||||
|
- fix mysql_config on hammer
|
||||||
|
|
||||||
|
* Sun Dec 22 2002 Tim Powers <timp@redhat.com> 3.23.54a-6
|
||||||
|
- don't use rpms internal dep generator
|
||||||
|
|
||||||
|
* Tue Dec 17 2002 Elliot Lee <sopwith@redhat.com> 3.23.54a-5
|
||||||
|
- Push it into the build system
|
||||||
|
|
||||||
* Mon Dec 16 2002 Joe Orton <jorton@redhat.com> 3.23.54a-4
|
* Mon Dec 16 2002 Joe Orton <jorton@redhat.com> 3.23.54a-4
|
||||||
- upgrade to 3.23.54a for safe_mysqld fix
|
- upgrade to 3.23.54a for safe_mysqld fix
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user