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