1# Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
2#
3# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation; version 2 of the License.
6#
7# This program is distributed in the hope that it will be useful,
8# but WITHOUT ANY WARRANTY; without even the implied warranty of
9# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10# GNU General Public License for more details.
11#
12# You should have received a copy of the GNU General Public License
13# along with this program; see the file COPYING. If not, write to the
14# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston
15# MA  02110-1301  USA.
16
17
18%global mysql_vendor    Oracle and/or its affiliates
19%global mysqldatadir    /var/lib/mysql
20
21# By default, a build will include the bundeled "yaSSL" library for SSL.
22%{?with_ssl: %global ssl_option -DWITH_SSL=%{with_ssl}}
23
24# Regression tests may take a long time, override the default to skip them
25%{!?runselftest:%global runselftest 0}
26
27%{!?with_debuginfo:              %global nodebuginfo 1}
28%{!?product_suffix:              %global product_suffix community}
29%{!?feature_set:                 %global feature_set community}
30%{!?compilation_comment_release: %global compilation_comment_release MySQL Community Server - (GPL)}
31%{!?compilation_comment_debug:   %global compilation_comment_debug MySQL Community Server - Debug (GPL)}
32%{!?src_base:                    %global src_base mysql}
33
34%global src_dir               %{src_base}-%{version}
35
36# multiarch
37%global multiarchs            ppc %{power64} %{ix86} x86_64 %{sparc}
38
39# No debuginfo for now, ships /usr/sbin/mysqld-debug and libmysqlcliet-debug.a
40%if 0%{?nodebuginfo}
41%global _enable_debug_package 0
42%global debug_package         %{nil}
43%global __os_install_post     /usr/lib/rpm/brp-compress %{nil}
44%endif
45
46%if 0%{?commercial}
47%global license_files_server  %{src_dir}/LICENSE.mysql
48%global license_type          Commercial
49%else
50%global license_files_server  %{src_dir}/COPYING %{src_dir}/README
51%global license_type          GPLv2
52%endif
53
54%if 0%{?sles_version} == 011
55%global dist                  .sles11
56%global sles11                1
57%endif
58
59%global min                   5.5.8
60
61Name:           mysql-%{product_suffix}
62Summary:        A very fast and reliable SQL database server
63Group:          Applications/Databases
64Version:        @VERSION@
65Release:        2%{?commercial:.1}%{?dist}
66License:        Copyright (c) 2000, @MYSQL_COPYRIGHT_YEAR@, %{mysql_vendor}. All rights reserved. Under %{?license_type} license as shown in the Description field.
67Source0:        https://cdn.mysql.com/Downloads/MySQL-@MYSQL_BASE_VERSION@/%{src_dir}.tar.gz
68URL:            http://www.mysql.com/
69Packager:       MySQL Release Engineering <mysql-build@oss.oracle.com>
70Vendor:         %{mysql_vendor}
71Source4:        my_config.h
72Source90:       filter-provides.sh
73Source91:       filter-requires.sh
74BuildRequires:  cmake
75BuildRequires:  perl
76BuildRequires:  libaio-devel
77BuildRequires:  ncurses-devel
78BuildRequires:  openssl-devel
79BuildRequires:  zlib-devel
80BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
81
82%if 0%{?rhel} > 6
83# For rpm => 4.9 only: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering
84%global __requires_exclude ^perl\\((GD|hostnames|lib::mtr|lib::v1|mtr_|My::)
85%global __provides_exclude_from ^(/usr/share/(mysql|mysql-test)/.*|%{_libdir}/mysql/plugin/.*\\.so)$
86%else
87# https://fedoraproject.org/wiki/EPEL:Packaging#Generic_Filtering_on_EPEL6
88%global __perl_provides %{SOURCE90}
89%global __perl_requires %{SOURCE91}
90%endif
91
92%description
93The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
94and robust SQL (Structured Query Language) database server. MySQL Server
95is intended for mission-critical, heavy-load production systems as well
96as for embedding into mass-deployed software. MySQL is a trademark of
97%{mysql_vendor}
98
99The MySQL software has Dual Licensing, which means you can use the MySQL
100software free of charge under the GNU General Public License
101(http://www.gnu.org/licenses/). You can also purchase commercial MySQL
102licenses from %{mysql_vendor} if you do not wish to be bound by the terms of
103the GPL. See the chapter "Licensing and Support" in the manual for
104further info.
105
106The MySQL web site (http://www.mysql.com/) provides the latest
107news and information about the MySQL software. Also please see the
108documentation and the manual for more information.
109
110%package        server
111Summary:        A very fast and reliable SQL database server
112Group:          Applications/Databases
113Requires:       coreutils
114Requires:       grep
115Requires:       procps
116Requires:       shadow-utils
117Requires:       net-tools
118Requires:       perl-base
119%if 0%{?commercial}
120Provides:       MySQL-server-advanced = %{version}-%{release}
121Obsoletes:      MySQL-server-advanced < %{version}-%{release}
122Obsoletes:      mysql-community-server < %{version}-%{release}
123Requires:       mysql-commercial-client >= %{min}
124Requires:       mysql-commercial-common >= %{min}
125%else
126Provides:       MySQL-server = %{version}-%{release}
127Requires:       mysql-community-client >= %{min}
128Requires:       mysql-community-common >= %{min}
129%endif
130Obsoletes:      MySQL-server < %{version}-%{release}
131Obsoletes:      mysql < %{version}-%{release}
132Obsoletes:      mysql-tools < %{version}-%{release}
133Obsoletes:      mariadb-server
134Obsoletes:      mariadb-galera-server
135Provides:       mysql = %{version}-%{release}
136Provides:       mysql-tools = %{version}-%{release}
137PreReq:         insserv
138PreReq:         sed
139PreReq:         pwdutils
140Conflicts:      otherproviders(mysql)
141Conflicts:      otherproviders(mysql-debug)
142Conflicts:      otherproviders(mysql-tools)
143
144%description    server
145The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
146and robust SQL (Structured Query Language) database server. MySQL Server
147is intended for mission-critical, heavy-load production systems as well
148as for embedding into mass-deployed software. MySQL is a trademark of
149%{mysql_vendor}
150
151The MySQL software has Dual Licensing, which means you can use the MySQL
152software free of charge under the GNU General Public License
153(http://www.gnu.org/licenses/). You can also purchase commercial MySQL
154licenses from %{mysql_vendor} if you do not wish to be bound by the terms of
155the GPL. See the chapter "Licensing and Support" in the manual for
156further info.
157
158The MySQL web site (http://www.mysql.com/) provides the latest news and
159information about the MySQL software.  Also please see the documentation
160and the manual for more information.
161
162This package includes the MySQL server binary as well as related utilities
163to run and administer a MySQL server.
164
165%package        client
166Summary:        MySQL database client applications and tools
167Group:          Applications/Databases
168%if 0%{?commercial}
169Provides:       MySQL-client-advanced = %{version}-%{release}
170Obsoletes:      MySQL-client-advanced < %{version}-%{release}
171Obsoletes:      mysql-community-client < %{version}-%{release}
172Requires:       mysql-commercial-libs >= %{min}
173%else
174Provides:       MySQL-client = %{version}-%{release}
175Requires:       mysql-community-libs >= %{min}
176%endif
177Obsoletes:      MySQL-client < %{version}-%{release}
178Provides:       mysql-client = %{version}-%{release}
179Obsoletes:      mysql-client < %{version}-%{release}
180Obsoletes:      mariadb
181Conflicts:      otherproviders(mysql-client)
182
183%description    client
184This package contains the standard MySQL clients and administration
185tools.
186
187%package        common
188Summary:        MySQL database common files for server and client libs
189Group:          Applications/Databases
190%if 0%{?commercial}
191Obsoletes:      mysql-community-common < %{version}-%{release}
192%endif
193Provides:       mysql-common = %{version}-%{release}
194
195%description    common
196This packages contains common files needed by MySQL client library,
197MySQL database server, and MySQL embedded server.
198
199
200%package        test
201Summary:        Test suite for the MySQL database server
202Group:          Applications/Databases
203%if 0%{?commercial}
204Provides:       MySQL-test-advanced = %{version}-%{release}
205Obsoletes:      MySQL-test-advanced < %{version}-%{release}
206Obsoletes:      mysql-community-test < %{version}-%{release}
207Requires:       mysql-commercial-server >= %{min}
208%else
209Provides:       MySQL-test = %{version}-%{release}
210Requires:       mysql-community-server >= %{min}
211%endif
212Obsoletes:      MySQL-test < %{version}-%{release}
213Obsoletes:      mysql-test < %{version}-%{release}
214Obsoletes:      mariadb-test
215Provides:       mysql-test = %{version}-%{release}
216Conflicts:      otherproviders(mysql-test)
217
218%description    test
219This package contains the MySQL regression test suite for MySQL
220database server.
221
222
223%package        bench
224Summary:        MySQL benchmark suite
225Group:          Applications/Databases
226%if 0%{?commercial}
227Obsoletes:      mysql-community-bench < %{version}-%{release}
228Requires:       mysql-commercial-server >= %{min}
229%else
230Requires:       mysql-community-server >= %{min}
231%endif
232Obsoletes:      mariadb-bench
233Obsoletes:      community-mysql-bench < %{version}-%{release}
234Obsoletes:      mysql-bench < %{version}-%{release}
235Provides:       mysql-bench = %{version}-%{release}
236Conflicts:      otherproviders(mysql-bench)
237
238%description    bench
239This package contains the MySQL Benchmark Suite for MySQL database
240server.
241
242%package        devel
243Summary:        Development header files and libraries for MySQL database client applications
244Group:          Applications/Databases
245%if 0%{?commercial}
246Provides:       MySQL-devel-advanced = %{version}-%{release}
247Obsoletes:      MySQL-devel-advanced < %{version}-%{release}
248Obsoletes:      mysql-community-devel < %{version}-%{release}
249Requires:       mysql-commercial-libs >= %{min}
250%else
251Provides:       MySQL-devel = %{version}-%{release}
252Requires:       mysql-community-libs >= %{min}
253%endif
254Obsoletes:      MySQL-devel < %{version}-%{release}
255Obsoletes:      mysql-devel < %{version}-%{release}
256Obsoletes:      mariadb-devel
257Obsoletes:      libmysqlclient-devel
258Provides:       mysql-devel = %{version}-%{release}
259Provides:       libmysqlclient-devel = %{version}-%{release}
260Conflicts:      mysql-connector-c-devel < 6.2
261
262%description    devel
263This package contains the development header files and libraries necessary
264to develop MySQL client applications.
265
266%package        libs
267Summary:        Shared libraries for MySQL database client applications
268Group:          Applications/Databases
269%if 0%{?commercial}
270Provides:       MySQL-shared-advanced = %{version}-%{release}
271Obsoletes:      MySQL-shared-advanced < %{version}-%{release}
272Obsoletes:      mysql-community-libs < %{version}-%{release}
273Requires:       mysql-commercial-common >= %{min}
274%else
275Provides:       MySQL-shared = %{version}-%{release}
276Requires:       mysql-community-common >= %{min}
277%endif
278Obsoletes:      MySQL-shared < %{version}-%{release}
279Obsoletes:      mysql-libs < %{version}-%{release}
280Obsoletes:      mariadb-libs
281Obsoletes:      libmysqlclient18 < %{version}-%{release}
282Obsoletes:      libmysqlclient_r18 < %{version}-%{release}
283Provides:       mysql-libs = %{version}-%{release}
284Provides:       libmysqlclient18 = %{version}-%{release}
285Provides:       libmysqlclient_r18 = %{version}-%{release}
286Conflicts:      mysql-connector-c-shared < 6.2
287
288%description    libs
289This package contains the shared libraries for MySQL client
290applications.
291
292%package        embedded
293Summary:        MySQL embedded library
294Group:          Applications/Databases
295%if 0%{?commercial}
296Provides:       MySQL-embedded-advanced = %{version}-%{release}
297Obsoletes:      MySQL-embedded-advanced < %{version}-%{release}
298Obsoletes:      mysql-community-embedded < %{version}-%{release}
299Requires:       mysql-commercial-common >= %{min}
300%else
301Provides:       MySQL-embedded = %{version}-%{release}
302Requires:       mysql-community-common >= %{min}
303%endif
304Obsoletes:      mariadb-embedded
305Obsoletes:      MySQL-embedded < %{version}-%{release}
306Obsoletes:      mysql-embedded < %{version}-%{release}
307Provides:       mysql-embedded = %{version}-%{release}
308
309%description    embedded
310This package contains the MySQL server as an embedded library.
311
312The embedded MySQL server library makes it possible to run a full-featured
313MySQL server inside the client application. The main benefits are increased
314speed and more simple management for embedded applications.
315
316The API is identical for the embedded MySQL version and the
317client/server version.
318
319For a description of MySQL see the base MySQL RPM or http://www.mysql.com/
320
321%package        embedded-devel
322Summary:        Development header files and libraries for MySQL as an embeddable library
323Group:          Applications/Databases
324%if 0%{?commercial}
325Obsoletes:      mysql-community-embedded-devel < %{version}-%{release}
326Requires:       mysql-commercial-devel >= %{min}
327Requires:       mysql-commercial-embedded >= %{min}
328%else
329Requires:       mysql-community-devel >= %{min}
330Requires:       mysql-community-embedded >= %{min}
331%endif
332Obsoletes:      mariadb-embedded-devel
333Obsoletes:      mysql-embedded-devel < %{version}-%{release}
334Provides:       mysql-embedded-devel = %{version}-%{release}
335
336%description    embedded-devel
337This package contains files needed for developing applications using
338the embedded version of the MySQL server.
339
340%prep
341%setup -q -T -a 0 -c -n %{src_dir}
342pushd %{src_dir}
343
344%build
345# Fail quickly and obviously if user tries to build as root
346%if 0%{?runselftest}
347if [ "x$(id -u)" = "x0" ] ; then
348   echo "The MySQL regression tests may fail if run as root."
349   echo "If you really need to build the RPM as root, use"
350   echo "--define='runselftest 0' to skip the regression tests."
351   exit 1
352fi
353%endif
354
355
356# Build debug versions of mysqld and libmysqld.a
357mkdir debug
358(
359  cd debug
360  # Attempt to remove any optimisation flags from the debug build
361  optflags=$(echo "%{optflags}" | sed -e 's/-O2 / /' -e 's/-Wp,-D_FORTIFY_SOURCE=2/ /')
362  cmake ../%{src_dir} \
363           -DBUILD_CONFIG=mysql_release \
364           -DINSTALL_LAYOUT=RPM \
365           -DCMAKE_BUILD_TYPE=Debug \
366           -DENABLE_DTRACE=OFF \
367           -DCMAKE_C_FLAGS="$optflags" \
368           -DCMAKE_CXX_FLAGS="$optflags" \
369           -DINSTALL_LIBDIR="%{_lib}/mysql" \
370           -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin/debug" \
371           -DINSTALL_SQLBENCHDIR=share \
372           -DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
373           -DFEATURE_SET="%{feature_set}" \
374           -DWITH_EMBEDDED_SERVER=1 \
375           -DWITH_EMBEDDED_SHARED_LIBRARY=1 \
376           %{?ssl_option} \
377           -DCOMPILATION_COMMENT="%{compilation_comment_debug}" \
378           -DMYSQL_SERVER_SUFFIX="%{?server_suffix}"
379  echo BEGIN_DEBUG_CONFIG ; egrep '^#define' include/config.h ; echo END_DEBUG_CONFIG
380  make %{?_smp_mflags} VERBOSE=1
381)
382
383# Build full release
384mkdir release
385(
386  cd release
387  cmake ../%{src_dir} \
388           -DBUILD_CONFIG=mysql_release \
389           -DINSTALL_LAYOUT=RPM \
390           -DCMAKE_BUILD_TYPE=RelWithDebInfo \
391           -DENABLE_DTRACE=OFF \
392           -DCMAKE_C_FLAGS="%{optflags}" \
393           -DCMAKE_CXX_FLAGS="%{optflags}" \
394           -DINSTALL_LIBDIR="%{_lib}/mysql" \
395           -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \
396           -DINSTALL_SQLBENCHDIR=share \
397           -DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
398           -DFEATURE_SET="%{feature_set}" \
399           -DWITH_EMBEDDED_SERVER=1 \
400           -DWITH_EMBEDDED_SHARED_LIBRARY=1 \
401           %{?ssl_option} \
402           -DCOMPILATION_COMMENT="%{compilation_comment_release}" \
403           -DMYSQL_SERVER_SUFFIX="%{?server_suffix}"
404  echo BEGIN_NORMAL_CONFIG ; egrep '^#define' include/config.h ; echo END_NORMAL_CONFIG
405  make %{?_smp_mflags} VERBOSE=1
406)
407
408%install
409MBD=$RPM_BUILD_DIR/%{src_dir}
410
411# Ensure that needed directories exists
412install -d -m 0755 %{buildroot}/var/lib/mysql
413install -d -m 0755 %{buildroot}/var/run/mysql
414install -d -m 0750 %{buildroot}/var/log/mysql
415install -d -m 0750 %{buildroot}/var/lib/mysql-files
416
417# Install all binaries
418cd $MBD/release
419make DESTDIR=%{buildroot} install
420
421# Install logrotate and autostart
422install -D -m 0644 $MBD/release/support-files/mysql-log-rotate %{buildroot}%{_sysconfdir}/logrotate.d/mysql
423install -D -m 0644 $MBD/release/packaging/rpm-sles/my.cnf %{buildroot}%{_sysconfdir}/my.cnf
424install -d %{buildroot}%{_sysconfdir}/my.cnf.d
425install -D -m 0755 $MBD/release/packaging/rpm-sles/mysql.init %{buildroot}%{_sysconfdir}/init.d/mysql
426
427# Make library links
428install -d -m 0755 %{buildroot}%{_sysconfdir}/ld.so.conf.d
429echo "%{_libdir}/mysql" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf
430
431# multiarch support
432%ifarch %{multiarchs}
433mv %{buildroot}/%{_includedir}/mysql/my_config.h \
434   %{buildroot}/%{_includedir}/mysql/my_config_%{_arch}.h
435install -p -m 0644 %{SOURCE4} %{buildroot}/%{_includedir}/mysql/my_config.h
436%endif
437
438# Remove files pages we explicitly do not want to package
439rm -rf %{buildroot}%{_infodir}/mysql.info*
440rm -rf %{buildroot}%{_datadir}/mysql/binary-configure
441rm -rf %{buildroot}%{_datadir}/mysql/mysql.server
442rm -rf %{buildroot}%{_datadir}/mysql/mysqld_multi.server
443rm -f  %{buildroot}%{_datadir}/mysql/{ndb-config-2-node,config*}.ini
444rm -f  %{buildroot}%{_datadir}/mysql/my-*.cnf
445rm -rf %{buildroot}%{_bindir}/mysql_embedded
446rm -rf %{buildroot}%{_bindir}/mysql_setpermission
447rm -rf %{buildroot}%{_mandir}/man1/mysql_setpermission.1*
448
449# rcmysql symlink
450install -d %{buildroot}%{_sbindir}
451ln -sf %{_initrddir}/mysql %{buildroot}%{_sbindir}/rcmysql
452
453%check
454%if 0%{?runselftest}
455pushd release
456make test VERBOSE=1
457export MTR_BUILD_THREAD=auto
458pushd mysql-test
459./mtr \
460    --mem --parallel=auto --force --retry=0 \
461    --mysqld=--binlog-format=mixed \
462    --suite-timeout=720 --testcase-timeout=30 \
463    --clean-vardir
464rm -r $(readlink var) var
465%endif
466
467%pre server
468/usr/sbin/groupadd -r mysql >/dev/null 2>&1 || :
469/usr/sbin/useradd -g mysql -o -r -d /var/lib/mysql -s /bin/false \
470    -c "MySQL Server" -u 60 mysql >/dev/null 2>&1 || :
471
472%post server
473datadir=$(/usr/bin/my_print_defaults server mysqld | grep '^--datadir=' | sed -n 's/--datadir=//p' | tail -n 1)
474/bin/chmod 0755 "$datadir"
475/bin/touch /var/log/mysql/mysqld.log
476/bin/chown mysql:mysql /var/log/mysql/mysqld.log >/dev/null 2>&1 || :
477/sbin/insserv /etc/init.d/mysql
478
479%preun server
480if [ "$1" -eq 0 ]; then
481    /usr/sbin/rcmysql stop >/dev/null 2>&1 || :
482    /sbin/insserv /etc/init.d
483fi
484
485%postun server
486if [ $1 -ge 1 ]; then
487    /usr/sbin/rcmysql condrestart >/dev/null 2>&1 || :
488fi
489
490%post libs -p /sbin/ldconfig
491
492%postun libs -p /sbin/ldconfig
493
494%if 0%{?compatlib}
495%post libs-compat -p /sbin/ldconfig
496
497%postun libs-compat -p /sbin/ldconfig
498%endif
499
500%post embedded -p /sbin/ldconfig
501
502%postun embedded -p /sbin/ldconfig
503
504%files server
505%defattr(-, root, root, -)
506%doc %{?license_files_server} %{src_dir}/Docs/ChangeLog
507%doc %{src_dir}/Docs/INFO_SRC*
508%doc release/Docs/INFO_BIN*
509%attr(644, root, root) %{_mandir}/man1/innochecksum.1*
510%attr(644, root, root) %{_mandir}/man1/my_print_defaults.1*
511%attr(644, root, root) %{_mandir}/man1/myisam_ftdump.1*
512%attr(644, root, root) %{_mandir}/man1/myisamchk.1*
513%attr(644, root, root) %{_mandir}/man1/myisamlog.1*
514%attr(644, root, root) %{_mandir}/man1/myisampack.1*
515%attr(644, root, root) %{_mandir}/man1/mysql_convert_table_format.1*
516%attr(644, root, root) %{_mandir}/man1/mysql_fix_extensions.1*
517%attr(644, root, root) %{_mandir}/man8/mysqld.8*
518%attr(644, root, root) %{_mandir}/man1/mysqld_multi.1*
519%attr(644, root, root) %{_mandir}/man1/mysqld_safe.1*
520%attr(644, root, root) %{_mandir}/man1/mysqldumpslow.1*
521%attr(644, root, root) %{_mandir}/man1/mysql_install_db.1*
522%attr(644, root, root) %{_mandir}/man1/mysql_plugin.1*
523%attr(644, root, root) %{_mandir}/man1/mysql_secure_installation.1*
524%attr(644, root, root) %{_mandir}/man1/mysql_upgrade.1*
525%attr(644, root, root) %{_mandir}/man1/mysqlhotcopy.1*
526%attr(644, root, root) %{_mandir}/man1/mysqlman.1*
527%attr(644, root, root) %{_mandir}/man1/mysql.server.1*
528%attr(644, root, root) %{_mandir}/man1/mysql_tzinfo_to_sql.1*
529%attr(644, root, root) %{_mandir}/man1/mysql_zap.1*
530%attr(644, root, root) %{_mandir}/man1/mysqlbug.1*
531%attr(644, root, root) %{_mandir}/man1/perror.1*
532%attr(644, root, root) %{_mandir}/man1/replace.1*
533%attr(644, root, root) %{_mandir}/man1/resolve_stack_dump.1*
534%attr(644, root, root) %{_mandir}/man1/resolveip.1*
535
536%config(noreplace) %{_sysconfdir}/my.cnf
537%dir %{_sysconfdir}/my.cnf.d
538
539%attr(755, root, root) %{_bindir}/innochecksum
540%attr(755, root, root) %{_bindir}/my_print_defaults
541%attr(755, root, root) %{_bindir}/myisam_ftdump
542%attr(755, root, root) %{_bindir}/myisamchk
543%attr(755, root, root) %{_bindir}/myisamlog
544%attr(755, root, root) %{_bindir}/myisampack
545%attr(755, root, root) %{_bindir}/mysql_convert_table_format
546%attr(755, root, root) %{_bindir}/mysql_fix_extensions
547%attr(755, root, root) %{_bindir}/mysql_install_db
548%attr(755, root, root) %{_bindir}/mysql_plugin
549%attr(755, root, root) %{_bindir}/mysql_secure_installation
550%attr(755, root, root) %{_bindir}/mysql_tzinfo_to_sql
551%attr(755, root, root) %{_bindir}/mysql_upgrade
552%attr(755, root, root) %{_bindir}/mysql_zap
553%attr(755, root, root) %{_bindir}/mysqlbug
554%attr(755, root, root) %{_bindir}/mysqld_multi
555%attr(755, root, root) %{_bindir}/mysqld_safe
556%attr(755, root, root) %{_bindir}/mysqldumpslow
557%attr(755, root, root) %{_bindir}/mysqlhotcopy
558%attr(755, root, root) %{_bindir}/mysqltest
559%attr(755, root, root) %{_bindir}/perror
560%attr(755, root, root) %{_bindir}/replace
561%attr(755, root, root) %{_bindir}/resolve_stack_dump
562%attr(755, root, root) %{_bindir}/resolveip
563%attr(755, root, root) %{_sbindir}/mysqld
564%attr(755, root, root) %{_sbindir}/mysqld-debug
565%attr(755, root, root) %{_sbindir}/rcmysql
566
567%dir %{_libdir}/mysql/plugin
568%attr(755, root, root) %{_libdir}/mysql/plugin/adt_null.so
569%attr(755, root, root) %{_libdir}/mysql/plugin/auth_socket.so
570%attr(755, root, root) %{_libdir}/mysql/plugin/mypluglib.so
571%attr(755, root, root) %{_libdir}/mysql/plugin/semisync_master.so
572%attr(755, root, root) %{_libdir}/mysql/plugin/semisync_slave.so
573%dir %{_libdir}/mysql/plugin/debug
574%attr(755, root, root) %{_libdir}/mysql/plugin/debug/adt_null.so
575%attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth_socket.so
576%attr(755, root, root) %{_libdir}/mysql/plugin/debug/mypluglib.so
577%attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_master.so
578%attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_slave.so
579%if 0%{?commercial}
580%attr(755, root, root) %{_libdir}/mysql/plugin/audit_log.so
581%attr(755, root, root) %{_libdir}/mysql/plugin/authentication_pam.so
582%attr(755, root, root) %{_libdir}/mysql/plugin/thread_pool.so
583%attr(755, root, root) %{_libdir}/mysql/plugin/debug/audit_log.so
584%attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_pam.so
585%attr(755, root, root) %{_libdir}/mysql/plugin/debug/thread_pool.so
586%endif
587%attr(644, root, root) %{_datadir}/mysql/fill_help_tables.sql
588%attr(644, root, root) %{_datadir}/mysql/mysql_system_tables.sql
589%attr(644, root, root) %{_datadir}/mysql/mysql_system_tables_data.sql
590%attr(644, root, root) %{_datadir}/mysql/mysql_test_data_timezone.sql
591%attr(644, root, root) %{_datadir}/mysql/mysql-log-rotate
592%attr(644, root, root) %{_datadir}/mysql/magic
593%attr(755, root, root) %{_sysconfdir}/init.d/mysql
594%attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql
595%dir %attr(755, mysql, mysql) /var/lib/mysql
596%dir %attr(755, mysql, mysql) /var/run/mysql
597%dir %attr(750, mysql, mysql) /var/log/mysql
598%dir %attr(750, mysql, mysql) /var/lib/mysql-files
599
600%files common
601%defattr(-, root, root, -)
602%doc %{?license_files_server}
603%{_datadir}/mysql/charsets/
604%{_datadir}/mysql/errmsg-utf8.txt
605%{_datadir}/mysql/czech/
606%{_datadir}/mysql/danish/
607%{_datadir}/mysql/dutch/
608%{_datadir}/mysql/english/
609%{_datadir}/mysql/estonian/
610%{_datadir}/mysql/french/
611%{_datadir}/mysql/german/
612%{_datadir}/mysql/greek/
613%{_datadir}/mysql/hungarian/
614%{_datadir}/mysql/italian/
615%{_datadir}/mysql/japanese/
616%{_datadir}/mysql/korean/
617%{_datadir}/mysql/norwegian-ny/
618%{_datadir}/mysql/norwegian/
619%{_datadir}/mysql/polish/
620%{_datadir}/mysql/portuguese/
621%{_datadir}/mysql/romanian/
622%{_datadir}/mysql/russian/
623%{_datadir}/mysql/serbian/
624%{_datadir}/mysql/slovak/
625%{_datadir}/mysql/spanish/
626%{_datadir}/mysql/swedish/
627%{_datadir}/mysql/ukrainian/
628
629%files client
630%defattr(-, root, root, -)
631%doc %{?license_files_server}
632%attr(755, root, root) %{_bindir}/msql2mysql
633%attr(755, root, root) %{_bindir}/mysql
634%attr(755, root, root) %{_bindir}/mysql_find_rows
635%attr(755, root, root) %{_bindir}/mysql_waitpid
636%attr(755, root, root) %{_bindir}/mysqlaccess
637# XXX: This should be moved to %{_sysconfdir}
638%attr(644, root, root) %{_bindir}/mysqlaccess.conf
639%attr(755, root, root) %{_bindir}/mysqladmin
640%attr(755, root, root) %{_bindir}/mysqlbinlog
641%attr(755, root, root) %{_bindir}/mysqlcheck
642%attr(755, root, root) %{_bindir}/mysqldump
643%attr(755, root, root) %{_bindir}/mysqlimport
644%attr(755, root, root) %{_bindir}/mysqlshow
645%attr(755, root, root) %{_bindir}/mysqlslap
646
647%attr(644, root, root) %{_mandir}/man1/msql2mysql.1*
648%attr(644, root, root) %{_mandir}/man1/mysql.1*
649%attr(644, root, root) %{_mandir}/man1/mysql_find_rows.1*
650%attr(644, root, root) %{_mandir}/man1/mysql_waitpid.1*
651%attr(644, root, root) %{_mandir}/man1/mysqlaccess.1*
652%attr(644, root, root) %{_mandir}/man1/mysqladmin.1*
653%attr(644, root, root) %{_mandir}/man1/mysqlbinlog.1*
654%attr(644, root, root) %{_mandir}/man1/mysqlcheck.1*
655%attr(644, root, root) %{_mandir}/man1/mysqldump.1*
656%attr(644, root, root) %{_mandir}/man1/mysqlimport.1*
657%attr(644, root, root) %{_mandir}/man1/mysqlshow.1*
658%attr(644, root, root) %{_mandir}/man1/mysqlslap.1*
659
660%files devel
661%defattr(-, root, root, -)
662%doc %{?license_files_server}
663%attr(644, root, root) %{_mandir}/man1/comp_err.1*
664%attr(644, root, root) %{_mandir}/man1/mysql_config.1*
665%attr(755, root, root) %{_bindir}/mysql_config
666%{_includedir}/mysql
667%{_datadir}/aclocal/mysql.m4
668%{_libdir}/mysql/libmysqlclient.a
669%{_libdir}/mysql/libmysqlclient_r.a
670%{_libdir}/mysql/libmysqlservices.a
671%{_libdir}/mysql/libmysqlclient_r.so
672%{_libdir}/mysql/libmysqlclient.so
673
674%files libs
675%defattr(-, root, root, -)
676%doc %{?license_files_server}
677%dir %attr(755, root, root) %{_libdir}/mysql
678%attr(644, root, root) %{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf
679%{_libdir}/mysql/libmysqlclient.so.18*
680%{_libdir}/mysql/libmysqlclient_r.so.18*
681
682%if 0%{?compatlib}
683%files libs-compat
684%defattr(-, root, root, -)
685%doc %{?license_files_server}
686%dir %attr(755, root, root) %{_libdir}/mysql
687%attr(644, root, root) %{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf
688%{_libdir}/mysql/libmysqlclient.so.%{compatlib}
689%{_libdir}/mysql/libmysqlclient.so.%{compatlib}.0.0
690%{_libdir}/mysql/libmysqlclient_r.so.%{compatlib}
691%{_libdir}/mysql/libmysqlclient_r.so.%{compatlib}.0.0
692%endif
693
694%files test
695%defattr(-, root, root, -)
696%doc %{?license_files_server}
697%attr(-, root, root) %{_datadir}/mysql-test
698%attr(755, root, root) %{_bindir}/mysql_client_test
699%attr(755, root, root) %{_bindir}/mysql_client_test_embedded
700%attr(755, root, root) %{_bindir}/mysqltest
701%attr(755, root, root) %{_bindir}/mysqltest_embedded
702
703%attr(755, root, root) %{_libdir}/mysql/plugin/auth.so
704%attr(755, root, root) %{_libdir}/mysql/plugin/auth_test_plugin.so
705%attr(644, root, root) %{_libdir}/mysql/plugin/daemon_example.ini
706%attr(755, root, root) %{_libdir}/mysql/plugin/libdaemon_example.so
707%attr(755, root, root) %{_libdir}/mysql/plugin/qa_auth_client.so
708%attr(755, root, root) %{_libdir}/mysql/plugin/qa_auth_interface.so
709%attr(755, root, root) %{_libdir}/mysql/plugin/qa_auth_server.so
710%attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth.so
711%attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth_test_plugin.so
712%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libdaemon_example.so
713%attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_client.so
714%attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_interface.so
715%attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_server.so
716
717%files bench
718%defattr(-, root, root, -)
719%doc %{?license_files_server}
720%{_datadir}/sql-bench
721
722%files embedded
723%defattr(-, root, root, -)
724%doc %{?license_files_server}
725%dir %attr(755, root, root) %{_libdir}/mysql
726%attr(644, root, root) %{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf
727%attr(755, root, root) %{_libdir}/mysql/libmysqld.so.*
728
729%files embedded-devel
730%defattr(-, root, root, -)
731%doc %{?license_files_server}
732%attr(644, root, root) %{_libdir}/mysql/libmysqld.a
733%attr(644, root, root) %{_libdir}/mysql/libmysqld-debug.a
734%attr(755, root, root) %{_libdir}/mysql/libmysqld.so
735
736%changelog
737* Wed Jan 10 2018 Bjorn Munch <bjorn.munch@oracle.com> - 5.5.60-1
738- No longer need to remove obsoleted mysqltest man pages
739
740* Tue Oct 31 2017 Bjorn Munch <bjorn.munch@oracle.com> - 5.5.59-1
741- Remove obsoleted mysqltest man pages
742
743* Mon Sep 26 2016 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.5.53-1
744- Include mysql-files directory
745
746* Tue Sep 29 2015 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.5.47-1
747- Added conflicts to mysql-connector-c-shared dependencies
748
749* Mon Oct 06 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.5.41-1
750- Backport to 5.5.41
751
752* Mon Oct 06 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.6-0.2.m16
753- Include boost sources
754- Add license info in each subpackage
755
756* Tue Sep 02 2014 Bjorn Munch <bjorn.munch@oracle.com> - 5.7.6-0.1.m16
757- Updated for 5.7.6
758
759* Mon Sep 01 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.5-0.2.m15
760- Added openssl_udf.so plugin to commercial packages
761
762* Mon Jun 30 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.5-0.1.m15
763- Port to SLES
764
765* Thu Jun 26 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.5-0.3.m15
766- Resolve embedded-devel conflict issue
767
768* Wed Jun 25 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.5-0.2.m15
769- Add bench package
770- Enable dtrace
771
772* Thu Apr 24 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.5-0.1.m15
773- Updated for 5.7.5
774
775* Mon Apr 07 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.4-0.5.m14
776- Fix Cflags for el7
777
778* Mon Mar 31 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.4-0.4.m14
779- Support for enterprise packages
780- Upgrade from MySQL-* packages
781
782* Wed Mar 12 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.4-0.3.m14
783- Resolve conflict with mysql-libs-compat
784
785* Thu Mar 06 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.4-0.2.m14
786- Resolve conflict issues during upgrade
787- Add ha_example.so plugin which is now included
788
789* Fri Feb 07 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.4-0.1.m14
790- 5.7.4
791- Enable shared libmysqld by cmake option
792- Move mysqltest and test plugins to test subpackage
793
794* Mon Nov 18 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.3-0.3.m13
795- Fixed isa_bits error
796
797* Fri Oct 25 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.3-0.1.m13
798- Initial 5.7 port
799
800* Fri Oct 25 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.15-1
801- Fixed uln advanced rpm libyassl.a error
802- Updated to 5.6.15
803
804* Wed Oct 16 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.14-3
805- Fixed mysql_install_db usage
806- Improved handling of plugin directory
807
808* Fri Sep 27 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.14-2
809- Refresh mysql-install patch and service renaming
810
811* Mon Sep 16 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.14-1
812- Updated to 5.6.14
813
814* Wed Sep 04 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.13-5
815- Support upgrade from 5.5 ULN packages to 5.6
816
817* Tue Aug 27 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.13-4
818- Enhanced perl filtering
819- Added openssl-devel to buildreq
820
821* Wed Aug 21 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.13-3
822- Removed mysql_embedded binary to resolve multilib conflict issue
823
824* Fri Aug 16 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.13-2
825- Fixed Provides and Obsoletes issues in server, test packages
826
827* Wed Aug 14 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.13-1
828- Updated to 5.6.13
829
830* Mon Aug 05 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-9
831- Added files list to embedded packages
832
833* Thu Aug 01 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-8
834- Updated libmysqld.a with libmysqld.so in embedded package
835
836* Mon Jul 29 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-7
837- Updated test package dependency from client to server
838
839* Wed Jul 24 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-6
840- Added libs-compat dependency under libs package to resolve server
841  installation conflicts issue.
842
843* Wed Jul 17 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-5
844- Removed libmysqlclient.so.16 from libs package
845
846* Fri Jul 05 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-4
847- Adjusted to work on OEL6
848
849* Wed Jun 26 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-3
850- Move libs to mysql/
851- Basic multi arch support
852- Fix changelog dates
853
854* Thu Jun 20 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-2
855- Major cleanup
856
857* Tue Jun 04 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-1
858- Updated to 5.6.12
859
860* Mon Nov 05 2012 Joerg Bruehe <joerg.bruehe@oracle.com>
861
862- Allow to override the default to use the bundled yaSSL by an option like
863      --define="with_ssl /path/to/ssl"
864
865* Wed Oct 10 2012 Bjorn Munch <bjorn.munch@oracle.com>
866
867- Replace old my-*.cnf config file examples with template my-default.cnf
868
869* Fri Oct 05 2012 Joerg Bruehe <joerg.bruehe@oracle.com>
870
871- Let the installation use the new option "--random-passwords" of "mysql_install_db".
872  (Bug# 12794345 Ensure root password)
873- Fix an inconsistency: "new install" vs "upgrade" are told from the (non)existence
874  of "$mysql_datadir/mysql" (holding table "mysql.user" and other system stuff).
875
876* Tue Jul 24 2012 Joerg Bruehe <joerg.bruehe@oracle.com>
877
878- Add a macro "runselftest":
879  if set to 1 (default), the test suite will be run during the RPM build;
880  this can be oveeridden via the command line by adding
881      --define "runselftest 0"
882  Failures of the test suite will NOT make the RPM build fail!
883
884* Mon Jul 16 2012 Joerg Bruehe <joerg.bruehe@oracle.com>
885
886- Add the man page for the "mysql_config_editor".
887
888* Mon Jun 11 2012 Joerg Bruehe <joerg.bruehe@oracle.com>
889
890- Make sure newly added "SPECIFIC-ULN/" directory does not disturb packaging.
891
892* Wed Feb 29 2012 Brajmohan Saxena <brajmohan.saxena@oracle.com>
893
894- Removal all traces of the readline library from mysql (BUG 13738013)
895
896* Wed Sep 28 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
897
898- Fix duplicate mentioning of "mysql_plugin" and its manual page,
899  it is better to keep alphabetic order in the files list (merging!).
900
901* Wed Sep 14 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
902
903- Let the RPM capabilities ("obsoletes" etc) ensure that an upgrade may replace
904  the RPMs of any configuration (of the current or the preceding release series)
905  by the new ones. This is done by not using the implicitly generated capabilities
906  (which include the configuration name) and relying on more generic ones which
907  just list the function ("server", "client", ...).
908  The implicit generation cannot be prevented, so all these capabilities must be
909  explicitly listed in "Obsoletes:"
910
911* Tue Sep 13 2011 Jonathan Perkin <jonathan.perkin@oracle.com>
912
913- Add support for Oracle Linux 6 and Red Hat Enterprise Linux 6.  Due to
914  changes in RPM behaviour ($RPM_BUILD_ROOT is removed prior to install)
915  this necessitated a move of the libmygcc.a installation to the install
916  phase, which is probably where it belonged in the first place.
917
918* Tue Sep 13 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
919
920- "make_win_bin_dist" and its manual are dropped, cmake does it different.
921
922* Thu Sep 08 2011 Daniel Fischer <daniel.fischer@oracle.com>
923
924- Add mysql_plugin man page.
925
926* Tue Aug 30 2011 Tor Didriksen <tor.didriksen@oracle.com>
927
928- Set CXX=g++ by default to add a dependency on libgcc/libstdc++.
929  Also, remove the use of the -fno-exceptions and -fno-rtti flags.
930  TODO: update distro_buildreq/distro_requires
931
932* Tue Aug 30 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
933
934- Add the manual page for "mysql_plugin" to the server package.
935
936* Fri Aug 19 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
937
938- Null-upmerge the fix of bug#37165: This spec file is not affected.
939- Replace "/var/lib/mysql" by the spec file variable "%%{mysqldatadir}".
940
941* Fri Aug 12 2011 Daniel Fischer <daniel.fischer@oracle.com>
942
943- Source plugin library files list from cmake-generated file.
944
945* Mon Jul 25 2011 Chuck Bell <chuck.bell@oracle.com>
946
947- Added the mysql_plugin client - enables or disables plugins.
948
949* Thu Jul 21 2011 Sunanda Menon <sunanda.menon@oracle.com>
950
951- Fix bug#12561297: Added the MySQL embedded binary
952
953* Thu Jul 07 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
954
955- Fix bug#45415: "rpm upgrade recreates test database"
956  Let the creation of the "test" database happen only during a new installation,
957  not in an RPM upgrade.
958  This affects both the "mkdir" and the call of "mysql_install_db".
959
960* Wed Feb 09 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
961
962- Fix bug#56581: If an installation deviates from the default file locations
963  ("datadir" and "pid-file"), the mechanism to detect a running server (on upgrade)
964  should still work, and use these locations.
965  The problem was that the fix for bug#27072 did not check for local settings.
966
967* Mon Jan 31 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
968
969- Install the new "manifest" files: "INFO_SRC" and "INFO_BIN".
970
971* Tue Nov 23 2010 Jonathan Perkin <jonathan.perkin@oracle.com>
972
973- EXCEPTIONS-CLIENT has been deleted, remove it from here too
974- Support MYSQL_BUILD_MAKE_JFLAG environment variable for passing
975  a '-j' argument to make.
976
977* Mon Nov 1 2010 Georgi Kodinov <georgi.godinov@oracle.com>
978
979- Added test authentication (WL#1054) plugin binaries
980
981* Wed Oct 6 2010 Georgi Kodinov <georgi.godinov@oracle.com>
982
983- Added example external authentication (WL#1054) plugin binaries
984
985* Wed Aug 11 2010 Joerg Bruehe <joerg.bruehe@oracle.com>
986
987- With a recent spec file cleanup, names have changed: A "-community" part was dropped.
988  Reflect that in the "Obsoletes" specifications.
989- Add a "triggerpostun" to handle the uninstall of the "-community" server RPM.
990- This fixes bug#55015 "MySQL server is not restarted properly after RPM upgrade".
991
992* Tue Jun 15 2010 Joerg Bruehe <joerg.bruehe@sun.com>
993
994- Change the behaviour on installation and upgrade:
995  On installation, do not autostart the server.
996  *Iff* the server was stopped before the upgrade is started, this is taken as a
997  sign the administrator is handling that manually, and so the new server will
998  not be started automatically at the end of the upgrade.
999  The start/stop scripts will still be installed, so the server will be started
1000  on the next machine boot.
1001  This is the 5.5 version of fixing bug#27072 (RPM autostarting the server).
1002
1003* Tue Jun 1 2010 Jonathan Perkin <jonathan.perkin@oracle.com>
1004
1005- Implement SELinux checks from distribution-specific spec file.
1006
1007* Wed May 12 2010 Jonathan Perkin <jonathan.perkin@oracle.com>
1008
1009- Large number of changes to build using CMake
1010- Introduce distribution-specific RPMs
1011- Drop debuginfo, build all binaries with debug/symbols
1012- Remove __os_install_post, use native macro
1013- Remove _unpackaged_files_terminate_build, make it an error to have
1014  unpackaged files
1015- Remove cluster RPMs
1016
1017* Wed Mar 24 2010 Joerg Bruehe <joerg.bruehe@sun.com>
1018
1019- Add "--with-perfschema" to the configure options.
1020
1021* Mon Mar 22 2010 Joerg Bruehe <joerg.bruehe@sun.com>
1022
1023- User "usr/lib*" to allow for both "usr/lib" and "usr/lib64",
1024  mask "rmdir" return code 1.
1025- Remove "ha_example.*" files from the list, they aren't built.
1026
1027* Wed Mar 17 2010 Joerg Bruehe <joerg.bruehe@sun.com>
1028
1029- Fix a wrong path name in handling the debug plugins.
1030
1031* Wed Mar 10 2010 Joerg Bruehe <joerg.bruehe@sun.com>
1032
1033- Take the result of the debug plugin build and put it into the optimized tree,
1034  so that it becomes part of the final installation;
1035  include the files in the packlist. Part of the fixes for bug#49022.
1036
1037* Mon Mar 01 2010 Joerg Bruehe <joerg.bruehe@sun.com>
1038
1039- Set "Oracle and/or its affiliates" as the vendor and copyright owner,
1040  accept upgrading from packages showing MySQL or Sun as vendor.
1041
1042* Fri Feb 12 2010 Joerg Bruehe <joerg.bruehe@sun.com>
1043
1044- Formatting changes:
1045  Have a consistent structure of separator lines and of indentation
1046  (8 leading blanks => tab).
1047- Introduce the variable "src_dir".
1048- Give the environment variables "MYSQL_BUILD_CC(CXX)" precedence
1049  over "CC" ("CXX").
1050- Drop the old "with_static" argument analysis, this is not supported
1051  in 5.1 since ages.
1052- Introduce variables to control the handlers individually, as well
1053  as other options.
1054- Use the new "--with-plugin" notation for the table handlers.
1055- Drop handling "/etc/rc.d/init.d/mysql", the switch to "/etc/init.d/mysql"
1056  was done back in 2002 already.
1057- Make "--with-zlib-dir=bundled" the default, add an option to disable it.
1058- Add missing manual pages to the file list.
1059- Improve the runtime check for "libgcc.a", protect it against being tried
1060  with the Intel compiler "icc".
1061
1062* Mon Jan 11 2010 Joerg Bruehe <joerg.bruehe@sun.com>
1063
1064- Change RPM file naming:
1065  - Suffix like "-m2", "-rc" becomes part of version as "_m2", "_rc".
1066  - Release counts from 1, not 0.
1067
1068* Wed Dec 23 2009 Joerg Bruehe <joerg.bruehe@sun.com>
1069
1070- The "semisync" plugin file name has lost its introductory "lib",
1071  adapt the file lists for the subpackages.
1072  This is a part missing from the fix for bug#48351.
1073- Remove the "fix_privilege_tables" manual, it does not exist in 5.5
1074  (and likely, the whole script will go, too).
1075
1076* Mon Nov 16 2009 Joerg Bruehe <joerg.bruehe@sun.com>
1077
1078- Fix some problems with the directives around "tcmalloc" (experimental),
1079  remove erroneous traces of the InnoDB plugin (that is 5.1 only).
1080
1081* Tue Oct 06 2009 Magnus Blaudd <mvensson@mysql.com>
1082
1083- Removed mysql_fix_privilege_tables
1084
1085* Fri Oct 02 2009 Alexander Nozdrin <alexander.nozdrin@sun.com>
1086
1087- "mysqlmanager" got removed from version 5.4, all references deleted.
1088
1089* Fri Aug 28 2009 Joerg Bruehe <joerg.bruehe@sun.com>
1090
1091- Merge up from 5.1 to 5.4: Remove handling for the InnoDB plugin.
1092
1093* Thu Aug 27 2009 Joerg Bruehe <joerg.bruehe@sun.com>
1094
1095- This version does not contain the "Instance manager", "mysqlmanager":
1096  Remove it from the spec file so that packaging succeeds.
1097
1098* Mon Aug 24 2009 Jonathan Perkin <jperkin@sun.com>
1099
1100- Add conditionals for bundled zlib and innodb plugin
1101
1102* Fri Aug 21 2009 Jonathan Perkin <jperkin@sun.com>
1103
1104- Install plugin libraries in appropriate packages.
1105- Disable libdaemon_example and ftexample plugins.
1106
1107* Thu Aug 20 2009 Jonathan Perkin <jperkin@sun.com>
1108
1109- Update variable used for mysql-test suite location to match source.
1110
1111* Fri Nov 07 2008 Joerg Bruehe <joerg@mysql.com>
1112
1113- Correct yesterday's fix, so that it also works for the last flag,
1114  and fix a wrong quoting: un-quoted quote marks must not be escaped.
1115
1116* Thu Nov 06 2008 Kent Boortz <kent.boortz@sun.com>
1117
1118- Removed "mysql_upgrade_shell"
1119- Removed some copy/paste between debug and normal build
1120
1121* Thu Nov 06 2008 Joerg Bruehe <joerg@mysql.com>
1122
1123- Modify CFLAGS and CXXFLAGS such that a debug build is not optimized.
1124  This should cover both gcc and icc flags.  Fixes bug#40546.
1125
1126* Fri Aug 29 2008 Kent Boortz <kent@mysql.com>
1127
1128- Removed the "Federated" storage engine option, and enabled in all
1129
1130* Tue Aug 26 2008 Joerg Bruehe <joerg@mysql.com>
1131
1132- Get rid of the "warning: Installed (but unpackaged) file(s) found:"
1133  Some generated files aren't needed in RPMs:
1134  - the "sql-bench/" subdirectory
1135  Some files were missing:
1136  - /usr/share/aclocal/mysql.m4  ("devel" subpackage)
1137  - Manual "mysqlbug" ("server" subpackage)
1138  - Program "innochecksum" and its manual ("server" subpackage)
1139  - Manual "mysql_find_rows" ("client" subpackage)
1140  - Script "mysql_upgrade_shell" ("client" subpackage)
1141  - Program "ndb_cpcd" and its manual ("ndb-extra" subpackage)
1142  - Manuals "ndb_mgm" + "ndb_restore" ("ndb-tools" subpackage)
1143
1144* Mon Mar 31 2008 Kent Boortz <kent@mysql.com>
1145
1146- Made the "Federated" storage engine an option
1147- Made the "Cluster" storage engine and sub packages an option
1148
1149* Wed Mar 19 2008 Joerg Bruehe <joerg@mysql.com>
1150
1151- Add the man pages for "ndbd" and "ndb_mgmd".
1152
1153* Mon Feb 18 2008 Timothy Smith <tim@mysql.com>
1154
1155- Require a manual upgrade if the alread-installed mysql-server is
1156  from another vendor, or is of a different major version.
1157
1158* Wed May 02 2007 Joerg Bruehe <joerg@mysql.com>
1159
1160- "ndb_size.tmpl" is not needed any more,
1161  "man1/mysql_install_db.1" lacked the trailing '*'.
1162
1163* Sat Apr 07 2007 Kent Boortz <kent@mysql.com>
1164
1165- Removed man page for "mysql_create_system_tables"
1166
1167* Wed Mar 21 2007 Daniel Fischer <df@mysql.com>
1168
1169- Add debug server.
1170
1171* Mon Mar 19 2007 Daniel Fischer <df@mysql.com>
1172
1173- Remove Max RPMs; the server RPMs contain a mysqld compiled with all
1174  features that previously only were built into Max.
1175
1176* Fri Mar 02 2007 Joerg Bruehe <joerg@mysql.com>
1177
1178- Add several man pages for NDB which are now created.
1179
1180* Fri Jan 05 2007 Kent Boortz <kent@mysql.com>
1181
1182- Put back "libmygcc.a", found no real reason it was removed.
1183
1184- Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
1185  correct "libgcc.a" path is returned for the 32/64 bit architecture.
1186
1187* Mon Dec 18 2006 Joerg Bruehe <joerg@mysql.com>
1188
1189- Fix the move of "mysqlmanager" to section 8: Directory name was wrong.
1190
1191* Thu Dec 14 2006 Joerg Bruehe <joerg@mysql.com>
1192
1193- Include the new man pages for "my_print_defaults" and "mysql_tzinfo_to_sql"
1194  in the server RPM.
1195- The "mysqlmanager" man page got moved from section 1 to 8.
1196
1197* Thu Nov 30 2006 Joerg Bruehe <joerg@mysql.com>
1198
1199- Call "make install" using "benchdir_root=%%{_datadir}",
1200  because that is affecting the regression test suite as well.
1201
1202* Thu Nov 16 2006 Joerg Bruehe <joerg@mysql.com>
1203
1204- Explicitly note that the "MySQL-shared" RPMs (as built by MySQL AB)
1205  replace "mysql-shared" (as distributed by SuSE) to allow easy upgrading
1206  (bug#22081).
1207
1208* Mon Nov 13 2006 Joerg Bruehe <joerg@mysql.com>
1209
1210- Add "--with-partition" t 2006 Joerg Bruehe <joerg@mysql.com>
1211
1212- Use the Perl script to run the tests, because it will automatically check
1213  whether the server is configured with SSL.
1214
1215* Tue Jun 27 2006 Joerg Bruehe <joerg@mysql.com>
1216
1217- move "mysqldumpslow" from the client RPM to the server RPM (bug#20216)
1218
1219- Revert all previous attempts to call "mysql_upgrade" during RPM upgrade,
1220  there are some more aspects which need to be solved before this is possible.
1221  For now, just ensure the binary "mysql_upgrade" is delivered and installysql.com>
1222
1223- To run "mysql_upgrade", we need a running server;
1224  start it in isolation and skip password checks.
1225
1226* Sat May 20 2006 Kent Boortz <kent@mysql.com>
1227
1228- Always compile for PIC, position independent code.
1229
1230* Wed May 10 2006 Kent Boortz <kent@mysql.com>
1231
1232- Use character set "all" when compiling with Cluster, to make Cluster
1233  nodes independent on the character set directory, and the problem
1234  that two RPM sub packages both wants to install this directory.
1235
1236* Mon May 01 2006 Kent Boortz <kent@mysql.com>
1237
1238- Use "./libtool --mode=execute" instead of searching for the
1239  executable in current directory and ".libs".
1240
1241* Fri Apr 28 2006 Kent Boortz <kent@mysql.com>
1242
1243- Install and run "mysql_upgrade"
1244
1245* Wed Apr 12 2006 Jim Winstead <jimw@mysql.com>
1246
1247- Remove sql-bench, and MySQL-bench RPM (will be built as an independent
1248  project from the mysql-bench repository)
1249
1250* Tue Apr 11 2006 Jim Winstead <jimw@mysql.com>
1251
1252- Remove old mysqltestmanager and related programs
1253* Sat Apr 01 2006 Kent Boortz <kent@mysql.com>
1254
1255- Set $LDFLAGS from $MYSQL_BUILD_LDFLAGS
1256
1257* Tue Mar 07 2006 Kent Boortz <kent@mysql.com>
1258
1259- Changed product name from "Community Edition" to "Community Server"
1260
1261* Mon Mar 06 2006 Kent Boortz <kent@mysql.com>
1262
1263- Fast mutexes is now disabled by default, but should be
1264  used in Linux builds.
1265
1266* Mon Feb 20 2006 Kent Boortz <kent@mysql.com>
1267
1268- Reintroduced a max build
1269- Limited testing of 'debug' and 'max' servers
1270- Berkeley DB only in 'max'
1271
1272* Mon Feb 13 2006 Joerg Bruehe <joerg@mysql.com>
1273
1274- Use "-i" on "make test-force";
1275  this is essential for later evaluation of this log file.
1276
1277* Thu Feb 09 2006 Kent Boortz <kent@mysql.com>
1278
1279- Pass '-static' to libtool, link static with our own libraries, dynamic
1280  with system libraries.  Link with the bundled zlib.
1281
1282* Wed Feb 08 2006 Kristian Nielsen <knielsen@mysql.com>
1283
1284- Modified RPM spec to match new 5.1 debug+max combined community packaging.
1285
1286* Sun Dec 18 2005 Kent Boortz <kent@mysql.com>
1287
1288- Added "client/mysqlslap"
1289
1290* Mon Dec 12 2005 Rodrigo Novo <rodrigo@mysql.com>
1291
1292- Added zlib to the list of (static) libraries installed
1293- Added check against libtool wierdness (WRT: sql/mysqld || sql/.libs/mysqld)
1294- Compile MySQL with bundled zlib
1295- Fixed %%packager name to "MySQL Production Engineering Team"
1296
1297* Mon Dec 05 2005 Joerg Bruehe <joerg@mysql.com>
1298
1299- Avoid using the "bundled" zlib on "shared" builds:
1300  As it is not installed (on the build system), this gives dependency
1301  problems with "libtool" causing the build to fail.
1302  (Change was done on Nov 11, but left uncommented.)
1303
1304* Tue Nov 22 2005 Joerg Bruehe <joerg@mysql.com>
1305
1306- Extend the file existence check for "init.d/mysql" on un-install
1307  to also guard the call to "insserv"/"chkconfig".
1308
1309* Thu Oct 27 2005 Lenz Grimmer <lenz@grimmer.com>
1310
1311- added more man pages
1312
1313* Wed Oct 19 2005 Kent Boortz <kent@mysql.com>
1314
1315- Made yaSSL support an option (off by default)
1316
1317* Wed Oct 19 2005 Kent Boortz <kent@mysql.com>
1318
1319- Enabled yaSSL support
1320
1321* Sat Oct 15 2005 Kent Boortz <kent@mysql.com>
1322
1323- Give mode arguments the same way in all places
1324lenz@mysql.com>
1325
1326- fixed the removing of the RPM_BUILD_ROOT in the %%clean section (the
1327  $RBR variable did not get expanded, thus leaving old build roots behind)
1328
1329* Thu Aug 04 2005 Lenz Grimmer <lenz@mysql.com>
1330
1331- Fixed the creation of the mysql user group account in the postinstall
1332  section (BUG 12348)
1333- Fixed enabling the Archive storage engine in the Max binary
1334
1335* Tue Aug 02 2005 Lenz Grimmer <lenz@mysql.com>
1336
1337- Fixed the Requires: tag for the server RPM (BUG 12233)
1338
1339* Fri Jul 15 2005 Lenz Grimmer <lenz@mysql.com>
1340
1341- create a "mysql" user group and assign the mysql user account to that group
1342  in the server postinstall section. (BUG 10984)
1343
1344* Tue Jun 14 2005 Lenz Grimmer <lenz@mysql.com>
1345
1346- Do not build statically on i386 by default, only when adding either "--with
1347  static" or "--define '_with_static 1'" to the RPM build options. Static
1348  linking really only makes sense when linking against the specially patched
1349  glibc 2.2.5.
1350
1351* Mon Jun 06 2005 Lenz Grimmer <lenz@mysql.com>
1352
1353- added mysql_client_test to the "bench" subpackage (BUG 10676)
1354- added the libndbclient static and shared libraries (BUG 10676)
1355
1356* Wed Jun 01 2005 Lenz Grimmer <lenz@mysql.com>
1357
1358- use "mysqldatadir" variable instead of hard-coding the path multiple times
1359- use the "mysqld_user" variable on all occasions a user name is referenced
1360- removed (incomplete) Brazilian translations
1361- removed redundant release tags from the subpackage descriptions
1362
1363* Wed May 25 2005 Joerg Bruehe <joerg@mysql.com>
1364
1365- Added a "make clean" between separate calls to "BuildMySQL".
1366
1367* Thu May 12 2005 Guilhem Bichot <guilhem@mysql.com>
1368
1369- Removed the mysql_tableinfo script made obsolete by the information schema
1370
1371* Wed Apr 20 2005 Lenz Grimmer <lenz@mysql.com>
1372
1373- Enabled the "blackhole" storage engine for the Max RPM
1374
1375* Wed Apr 13 2005 Lenz Grimmer <lenz@mysql.com>
1376
1377- removed the MySQL manual files (html/ps/texi) - they have been removed
1378  from the MySQL sources and are now available seperately.
1379
1380* Mon Apr 4 2005 Petr Chardin <petr@mysql.com>
1381
1382- old mysqlmanager, mysq* Mon Feb 7 2005 Tomas Ulin <tomas@mysql.com>
1383
1384- enabled the "Ndbcluster" storage engine for the max binary
1385- added extra make install in ndb subdir after Max build to get ndb binaries
1386- added packages for ndbcluster storage engine
1387
1388* Fri Jan 14 2005 Lenz Grimmer <lenz@mysql.com>
1389
1390- replaced obsoleted "BuildPrereq" with "BuildRequires" instead
1391
1392* Thu Jan 13 2005 Lenz Grimmer <lenz@mysql.com>
1393
1394- enabled the "Federated" storage engine for the max binary
1395
1396* Tue Jan 04 2005 Petr Chardin <petr@mysql.com>
1397
1398- ISAM and merge storage engines were purged. As well as appropriate
1399  tools and manpages (isamchk and isamlog)
1400
1401* Fri Dec 31 2004 Lenz Grimmer <lenz@mysql.com>
1402
1403- enabled the "Archive" storage engine for the max binary
1404- enabled the "CSV" storage engine for the max binary
1405- enabled the "Example" storage engine for the max binary
1406
1407* Thu Aug 26 2004 Lenz Grimmer <lenz@mysql.com>
1408
1409- MySQL-Max now requires MySQL-server instead of MySQL (BUG 3860)
1410
1411* Fri Aug 20 2004 Lenz Grimmer <lenz@mysql.com>
1412
1413- do not link statically on IA64/AMD64 as these systems do not have
1414  a patched glibc installed
1415
1416* Tue Aug 10 2004 Lenz Grimmer <lenz@mysql.com>
1417
1418- Added libmygcc.a to the devel subpackage (required to link applications
1419  against the the embedded server libmysqld.a) (BUG 4921)
1420
1421* Mon Aug 09 2004 Lenz Grimmer <lenz@mysql.com>
1422
1423- Added EXCEPTIONS-CLIENT to the "devel" package
1424
1425* Thu Jul 29 2004 Lenz Grimmer <lenz@mysql.com>
1426
1427- disabled OpenSSL in the Max binaries again (the RPM packages were the
1428  only exception to this anyway) (BUG 1043)
1429
1430* Wed Jun 30 2004 Lenz Grimmer <lenz@mysql.com>
1431
1432- fixed server postinstall (mysql_install_db was called with the wrong
1433  parameter)
1434
1435* Thu Jun 24 2004 Lenz Grimmer <lenz@mysql.com>
1436
1437- added mysql_tzinfo_to_sql to the server subpackage
1438- run "make clean" instead of "make distclean"
1439
1440* Mon Apr 05 2004 Lenz Grimmer <lenz@mysql.com>
1441
1442- added ncurses-devel to the build prerequisites (BUG 3377)
1443
1444* Thu Feb 12 2004 Lenz Grimmer <lenz@mysql.com>
1445
1446- when using gcc, _always_ use CXX=gcc
1447- replaced Copyright with License field (Copyright is obsolete)
1448
1449* Tue Feb 03 2004 Lenz Grimmer <lenz@mysql.com>
1450
1451- added myisam_ftdump to the Server package
1452
1453* Tue Jan 13 2004 Lenz Grimmer <lenz@mysql.com>
1454
1455- link the mysql client against libreadline instead of libedit (BUG 2289)
1456
1457* Mon Dec 22 2003 Lenz Grimmer <lenz@mysql.com>
1458
1459- marked /etc/logrotate.d/mysql as a config file (BUG 2156)
1460
1461* Sat Dec 13 2003 Lenz Grimmer <lenz@mysql.com>
1462
1463- fixed file permissions (BUG 1672)
1464
1465* Thu Dec 11 2003 Lenz Grimmer <lenz@mysql.com>
1466
1467- made testing for gcc3 a bit more robust
1468
1469* Fri Dec 05 2003 Lenz Grimmer <lenz@mysql.com>
1470
1471- added missing file mysql_create_system_tables to the server subpackage
1472
1473* Fri Nov 21 2003 Lenz Grimmer <lenz@mysql.com>
1474
1475- removed dependency on MySQL-client from the MySQL-devel subpackage
1476  as it is not really required. (BUG 1610)
1477
1478* Fri Aug 29 2003 Lenz Grimmer <lenz@mysql.com>
1479
1480- Fixed BUG 1162 (removed macro names from the changelog)
1481- Really fixed BUG 998 (disable the checking for installed but
1482  unpackaged files)
1483
1484* Tue Aug 05 2003 Lenz Grimmer <lenz@mysql.com>
1485
1486- Fixed BUG 959 (libmysqld not being compiled properly)
1487- Fixed BUG 998 (RPM build errors): added missing files to the
1488  distribution (mysql_fix_extensions, mysql_tableinfo, mysqldumpslow,
1489  mysql_fix_privilege_tables.1), removed "-n" from install section.
1490
1491* Wed Jul 09 2003 Lenz Grimmer <lenz@mysql.com>
1492
1493- removed the GIF Icon (file was not included in the sources anyway)
1494- removed unused variable shared_lib_version
1495- do not run automake before building the standard binary
1496  (should not be necessary)
1497- add server suffix '-standard' to standard binary (to be in line
1498  with the binary tarball distributions)
1499- Use more RPM macros (_exec_prefix, _sbindir, _libdir, _sysconfdir,
1500  _datadir, _includedir) throughout the spec file.
1501- allow overriding CC and CXX (required when building with other compilers)
1502
1503* Fri May 16 2003 Lenz Grimmer <lenz@mysql.com>
1504
1505- re-enabled RAID again
1506
1507* Wed Apr 30 2003 Lenz Grimmer <lenz@mysql.com>
1508
1509- disabled MyISAM RAID (--with-raid)- it throws an assertion which
1510  needs to be investigated first.
1511
1512* Mon Mar 10 2003 Lenz Grimmer <lenz@mysql.com>
1513
1514- added missing file mysql_secure_installation to server subpackage
1515  (BUG 141)
1516
1517* Tue Feb 11 2003 Lenz Grimmer <lenz@mysql.com>
1518
1519- re-added missing pre- and post(un)install scripts to server subpackage
1520- added config file /etc/my.cnf to the file list (just for completeness)
1521- make sure to create the datadir with 755 permissions
1522
1523* Mon Jan 27 2003 Lenz Grimmer <lenz@mysql.com>
1524
1525- removed unusedql.com>
1526
1527- Reworked the build steps a little bit: the Max binary is supposed
1528  to include OpenSSL, which cannot be linked statically, thus trying
1529  to statically link against a special glibc is futile anyway
1530- because of this, it is not required to make yet another build run
1531  just to compile the shared libs (saves a lot of time)
1532- updated package description of the Max subpackage
1533- clean up the BuildRoot directory afterwards
1534
1535* Mon Jul 15 2002 Lenz Grimmer <lenz@mysql.com>
1536
1537- Updated Packager information
1538- Fixed the build options: the regular package is supposed to
1539  include InnoDB and linked statically, while the Max package
1540  should include BDB and SSL support
1541
1542* Fri May 03 2002 Lenz Grimmer <lenz@mysql.com>
1543
1544- Use more RPM macros (e.g. infodir, mandir) to make the spec
1545  file more portable
1546- reorganized the installation of documentation files: let RPM
1547  take care of this
1548- reorganized the file list: actually install man pages along
1549  with the binaries of the respective subpackage
1550- do not include libmysqld.a in the devel subpackage as well, if we
1551  have a special "embedded" subpackage
1552- reworked the package descriptions
1553
1554* Mon Oct  8 2001 Monty
1555
1556- Added embedded server as a separate RPM
1557
1558* Fri Apr 13 2001 Monty
1559
1560- Added mysqld-max to the distribution
1561
1562* Tue Jan 2  2001  Monty
1563
1564- Added mysql-test to the bench package
1565
1566* Fri Aug 18 2000 Tim Smith <tim@mysql.com>
1567
1568- Added separate libmysql_r directory; now both a threaded
1569  and non-threaded library is shipped.
1570
1571* Tue Sep 28 1999 David Axmark <davida@mysql.com>
1572
1573- Added the support-files/my-example.cnf to the docs directory.
1574
1575- Removed devel dependency on base since it is about client
1576  development.
1577
1578* Wed Sep 8 1999 David Axmark <davida@mysql.com>
1579
1580- Cleaned up some for 3.23.
1581
1582* Thu Jul 1 1999 David Axmark <davida@mysql.com>
1583
1584- Added support for shared libraries in a separate sub
1585  package. Original fix by David Fox (dsfox@cogsci.ucsd.edu)
1586
1587- The --enable-assembler switch is now automatically disables on
1588  platforms there assembler code is unavailable. This should allow
1589  building this RPM on non i386 systems.
1590
1591* Mon Feb 22 1999 David Axmark <david@detron.se>
1592
1593- Removed unportable cc switches from the spec file. The defaults can
1594  now be overridden with environment variables. This feature is used
1595  to compile the official RPM with optimal (but compiler version
1596  specific) switches.
1597
1598- Removed the repetitive description parts for the sub rpms. Maybe add
1599  again if RPM gets a multiline macro capability.
1600
1601- Added support for a pt_BR translation. Translation contributed by
1602  Jorge Godoy <jorge@bestway.com.br>.
1603
1604* Wed Nov 4 1998 David Axmark <david@detron.se>
1605
1606- A lot of changes in all the rpm and install scripts. This may even
1607  be a working RPM :-)
1608
1609* Sun Aug 16 1998 David Axmark <david@detron.se>
1610
1611- A developers changelog for MySQL is available in the source RPM. And
1612  there is a history of major user visible changed in the Reference
1613  Manual.  Only RPM specific changes will be documented here.
1614