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