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}/mysqltest 788 789%attr(755, root, root) %{_libdir}/mysql/plugin/auth.so 790%attr(755, root, root) %{_libdir}/mysql/plugin/auth_test_plugin.so 791%attr(644, root, root) %{_libdir}/mysql/plugin/daemon_example.ini 792%attr(755, root, root) %{_libdir}/mysql/plugin/libdaemon_example.so 793%attr(755, root, root) %{_libdir}/mysql/plugin/test_udf_services.so 794%attr(755, root, root) %{_libdir}/mysql/plugin/udf_example.so 795%attr(755, root, root) %{_libdir}/mysql/plugin/qa_auth_client.so 796%attr(755, root, root) %{_libdir}/mysql/plugin/qa_auth_interface.so 797%attr(755, root, root) %{_libdir}/mysql/plugin/qa_auth_server.so 798%attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth.so 799%attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth_test_plugin.so 800%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libdaemon_example.so 801%attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_udf_services.so 802%attr(755, root, root) %{_libdir}/mysql/plugin/debug/udf_example.so 803%attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_client.so 804%attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_interface.so 805%attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_server.so 806 807%files bench 808%defattr(-, root, root, -) 809%doc %{?license_files_server} 810%{_datadir}/sql-bench 811 812%files embedded 813%defattr(-, root, root, -) 814%doc %{?license_files_server} 815%dir %attr(755, root, root) %{_libdir}/mysql 816%attr(644, root, root) %{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf 817%attr(755, root, root) %{_libdir}/mysql/libmysqld.so.* 818 819%files embedded-devel 820%defattr(-, root, root, -) 821%doc %{?license_files_server} 822%attr(644, root, root) %{_libdir}/mysql/libmysqld.a 823%attr(644, root, root) %{_libdir}/mysql/libmysqld-debug.a 824%attr(755, root, root) %{_libdir}/mysql/libmysqld.so 825 826%changelog 827* Thu Sep 05 2019 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.46-1 828- Add License Book, remove COPYING 829 830* Wed Jan 10 2018 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.40-1 831- No longer need to remove obsoleted mysqltest man pages 832 833* Tue Oct 31 2017 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.39-1 834- Remove obsoleted mysqltest man pages 835 836* Mon Oct 31 2016 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.35-1 837- Add connection_control.so to server subpackage 838 839* Mon Sep 26 2016 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.34-1 840- Include mysql-files directory 841 842* Mon Mar 14 2016 Georgi Kodinov <georgi.kodinov@oracle.com> - 5.6.31-1 843- Add test_udf_services.so plugin 844 845* Tue Sep 29 2015 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.28-1 846- Added conflicts to mysql-connector-c-shared dependencies 847 848* Wed Jan 14 2015 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.24-1 849- Add mysql_no_login.so plugin 850 851* Mon Oct 06 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.22-1 852- Backport to 5.6.22 853 854* Mon Oct 06 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.6-0.2.m16 855- Include boost sources 856- Add license info in each subpackage 857 858* Tue Sep 02 2014 Bjorn Munch <bjorn.munch@oracle.com> - 5.7.6-0.1.m16 859- Updated for 5.7.6 860 861* Mon Sep 01 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.5-0.2.m15 862- Added openssl_udf.so plugin to commercial packages 863 864* Mon Jun 30 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.5-0.1.m15 865- Port to SLES 866 867* Thu Jun 26 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.5-0.3.m15 868- Resolve embedded-devel conflict issue 869 870* Wed Jun 25 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.5-0.2.m15 871- Add bench package 872- Enable dtrace 873 874* Thu Apr 24 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.5-0.1.m15 875- Updated for 5.7.5 876 877* Mon Apr 07 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.4-0.5.m14 878- Fix Cflags for el7 879 880* Mon Mar 31 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.4-0.4.m14 881- Support for enterprise packages 882- Upgrade from MySQL-* packages 883 884* Wed Mar 12 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.4-0.3.m14 885- Resolve conflict with mysql-libs-compat 886 887* Thu Mar 06 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.4-0.2.m14 888- Resolve conflict issues during upgrade 889- Add ha_example.so plugin which is now included 890 891* Fri Feb 07 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.4-0.1.m14 892- 5.7.4 893- Enable shared libmysqld by cmake option 894- Move mysqltest and test plugins to test subpackage 895 896* Mon Nov 18 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.3-0.3.m13 897- Fixed isa_bits error 898 899* Fri Oct 25 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.3-0.1.m13 900- Initial 5.7 port 901 902* Fri Oct 25 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.15-1 903- Fixed uln advanced rpm libyassl.a error 904- Updated to 5.6.15 905 906* Wed Oct 16 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.14-3 907- Fixed mysql_install_db usage 908- Improved handling of plugin directory 909 910* Fri Sep 27 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.14-2 911- Refresh mysql-install patch and service renaming 912 913* Mon Sep 16 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.14-1 914- Updated to 5.6.14 915 916* Wed Sep 04 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.13-5 917- Support upgrade from 5.5 ULN packages to 5.6 918 919* Tue Aug 27 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.13-4 920- Enhanced perl filtering 921- Added openssl-devel to buildreq 922 923* Wed Aug 21 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.13-3 924- Removed mysql_embedded binary to resolve multilib conflict issue 925 926* Fri Aug 16 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.13-2 927- Fixed Provides and Obsoletes issues in server, test packages 928 929* Wed Aug 14 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.13-1 930- Updated to 5.6.13 931 932* Mon Aug 05 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-9 933- Added files list to embedded packages 934 935* Thu Aug 01 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-8 936- Updated libmysqld.a with libmysqld.so in embedded package 937 938* Mon Jul 29 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-7 939- Updated test package dependency from client to server 940 941* Wed Jul 24 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-6 942- Added libs-compat dependency under libs package to resolve server 943 installation conflicts issue. 944 945* Wed Jul 17 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-5 946- Removed libmysqlclient.so.16 from libs package 947 948* Fri Jul 05 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-4 949- Adjusted to work on OEL6 950 951* Wed Jun 26 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-3 952- Move libs to mysql/ 953- Basic multi arch support 954- Fix changelog dates 955 956* Thu Jun 20 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-2 957- Major cleanup 958 959* Tue Jun 04 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.12-1 960- Updated to 5.6.12 961 962* Mon Nov 05 2012 Joerg Bruehe <joerg.bruehe@oracle.com> 963 964- Allow to override the default to use the bundled yaSSL by an option like 965 --define="with_ssl /path/to/ssl" 966 967* Wed Oct 10 2012 Bjorn Munch <bjorn.munch@oracle.com> 968 969- Replace old my-*.cnf config file examples with template my-default.cnf 970 971* Fri Oct 05 2012 Joerg Bruehe <joerg.bruehe@oracle.com> 972 973- Let the installation use the new option "--random-passwords" of "mysql_install_db". 974 (Bug# 12794345 Ensure root password) 975- Fix an inconsistency: "new install" vs "upgrade" are told from the (non)existence 976 of "$mysql_datadir/mysql" (holding table "mysql.user" and other system stuff). 977 978* Tue Jul 24 2012 Joerg Bruehe <joerg.bruehe@oracle.com> 979 980- Add a macro "runselftest": 981 if set to 1 (default), the test suite will be run during the RPM build; 982 this can be oveeridden via the command line by adding 983 --define "runselftest 0" 984 Failures of the test suite will NOT make the RPM build fail! 985 986* Mon Jul 16 2012 Joerg Bruehe <joerg.bruehe@oracle.com> 987 988- Add the man page for the "mysql_config_editor". 989 990* Mon Jun 11 2012 Joerg Bruehe <joerg.bruehe@oracle.com> 991 992- Make sure newly added "SPECIFIC-ULN/" directory does not disturb packaging. 993 994* Wed Feb 29 2012 Brajmohan Saxena <brajmohan.saxena@oracle.com> 995 996- Removal all traces of the readline library from mysql (BUG 13738013) 997 998* Wed Sep 28 2011 Joerg Bruehe <joerg.bruehe@oracle.com> 999 1000- Fix duplicate mentioning of "mysql_plugin" and its manual page, 1001 it is better to keep alphabetic order in the files list (merging!). 1002 1003* Wed Sep 14 2011 Joerg Bruehe <joerg.bruehe@oracle.com> 1004 1005- Let the RPM capabilities ("obsoletes" etc) ensure that an upgrade may replace 1006 the RPMs of any configuration (of the current or the preceding release series) 1007 by the new ones. This is done by not using the implicitly generated capabilities 1008 (which include the configuration name) and relying on more generic ones which 1009 just list the function ("server", "client", ...). 1010 The implicit generation cannot be prevented, so all these capabilities must be 1011 explicitly listed in "Obsoletes:" 1012 1013* Tue Sep 13 2011 Jonathan Perkin <jonathan.perkin@oracle.com> 1014 1015- Add support for Oracle Linux 6 and Red Hat Enterprise Linux 6. Due to 1016 changes in RPM behaviour ($RPM_BUILD_ROOT is removed prior to install) 1017 this necessitated a move of the libmygcc.a installation to the install 1018 phase, which is probably where it belonged in the first place. 1019 1020* Tue Sep 13 2011 Joerg Bruehe <joerg.bruehe@oracle.com> 1021 1022- "make_win_bin_dist" and its manual are dropped, cmake does it different. 1023 1024* Thu Sep 08 2011 Daniel Fischer <daniel.fischer@oracle.com> 1025 1026- Add mysql_plugin man page. 1027 1028* Tue Aug 30 2011 Tor Didriksen <tor.didriksen@oracle.com> 1029 1030- Set CXX=g++ by default to add a dependency on libgcc/libstdc++. 1031 Also, remove the use of the -fno-exceptions and -fno-rtti flags. 1032 TODO: update distro_buildreq/distro_requires 1033 1034* Tue Aug 30 2011 Joerg Bruehe <joerg.bruehe@oracle.com> 1035 1036- Add the manual page for "mysql_plugin" to the server package. 1037 1038* Fri Aug 19 2011 Joerg Bruehe <joerg.bruehe@oracle.com> 1039 1040- Null-upmerge the fix of bug#37165: This spec file is not affected. 1041- Replace "/var/lib/mysql" by the spec file variable "%%{mysqldatadir}". 1042 1043* Fri Aug 12 2011 Daniel Fischer <daniel.fischer@oracle.com> 1044 1045- Source plugin library files list from cmake-generated file. 1046 1047* Mon Jul 25 2011 Chuck Bell <chuck.bell@oracle.com> 1048 1049- Added the mysql_plugin client - enables or disables plugins. 1050 1051* Thu Jul 21 2011 Sunanda Menon <sunanda.menon@oracle.com> 1052 1053- Fix bug#12561297: Added the MySQL embedded binary 1054 1055* Thu Jul 07 2011 Joerg Bruehe <joerg.bruehe@oracle.com> 1056 1057- Fix bug#45415: "rpm upgrade recreates test database" 1058 Let the creation of the "test" database happen only during a new installation, 1059 not in an RPM upgrade. 1060 This affects both the "mkdir" and the call of "mysql_install_db". 1061 1062* Wed Feb 09 2011 Joerg Bruehe <joerg.bruehe@oracle.com> 1063 1064- Fix bug#56581: If an installation deviates from the default file locations 1065 ("datadir" and "pid-file"), the mechanism to detect a running server (on upgrade) 1066 should still work, and use these locations. 1067 The problem was that the fix for bug#27072 did not check for local settings. 1068 1069* Mon Jan 31 2011 Joerg Bruehe <joerg.bruehe@oracle.com> 1070 1071- Install the new "manifest" files: "INFO_SRC" and "INFO_BIN". 1072 1073* Tue Nov 23 2010 Jonathan Perkin <jonathan.perkin@oracle.com> 1074 1075- EXCEPTIONS-CLIENT has been deleted, remove it from here too 1076- Support MYSQL_BUILD_MAKE_JFLAG environment variable for passing 1077 a '-j' argument to make. 1078 1079* Mon Nov 1 2010 Georgi Kodinov <georgi.godinov@oracle.com> 1080 1081- Added test authentication (WL#1054) plugin binaries 1082 1083* Wed Oct 6 2010 Georgi Kodinov <georgi.godinov@oracle.com> 1084 1085- Added example external authentication (WL#1054) plugin binaries 1086 1087* Wed Aug 11 2010 Joerg Bruehe <joerg.bruehe@oracle.com> 1088 1089- With a recent spec file cleanup, names have changed: A "-community" part was dropped. 1090 Reflect that in the "Obsoletes" specifications. 1091- Add a "triggerpostun" to handle the uninstall of the "-community" server RPM. 1092- This fixes bug#55015 "MySQL server is not restarted properly after RPM upgrade". 1093 1094* Tue Jun 15 2010 Joerg Bruehe <joerg.bruehe@sun.com> 1095 1096- Change the behaviour on installation and upgrade: 1097 On installation, do not autostart the server. 1098 *Iff* the server was stopped before the upgrade is started, this is taken as a 1099 sign the administrator is handling that manually, and so the new server will 1100 not be started automatically at the end of the upgrade. 1101 The start/stop scripts will still be installed, so the server will be started 1102 on the next machine boot. 1103 This is the 5.5 version of fixing bug#27072 (RPM autostarting the server). 1104 1105* Tue Jun 1 2010 Jonathan Perkin <jonathan.perkin@oracle.com> 1106 1107- Implement SELinux checks from distribution-specific spec file. 1108 1109* Wed May 12 2010 Jonathan Perkin <jonathan.perkin@oracle.com> 1110 1111- Large number of changes to build using CMake 1112- Introduce distribution-specific RPMs 1113- Drop debuginfo, build all binaries with debug/symbols 1114- Remove __os_install_post, use native macro 1115- Remove _unpackaged_files_terminate_build, make it an error to have 1116 unpackaged files 1117- Remove cluster RPMs 1118 1119* Wed Mar 24 2010 Joerg Bruehe <joerg.bruehe@sun.com> 1120 1121- Add "--with-perfschema" to the configure options. 1122 1123* Mon Mar 22 2010 Joerg Bruehe <joerg.bruehe@sun.com> 1124 1125- User "usr/lib*" to allow for both "usr/lib" and "usr/lib64", 1126 mask "rmdir" return code 1. 1127- Remove "ha_example.*" files from the list, they aren't built. 1128 1129* Wed Mar 17 2010 Joerg Bruehe <joerg.bruehe@sun.com> 1130 1131- Fix a wrong path name in handling the debug plugins. 1132 1133* Wed Mar 10 2010 Joerg Bruehe <joerg.bruehe@sun.com> 1134 1135- Take the result of the debug plugin build and put it into the optimized tree, 1136 so that it becomes part of the final installation; 1137 include the files in the packlist. Part of the fixes for bug#49022. 1138 1139* Mon Mar 01 2010 Joerg Bruehe <joerg.bruehe@sun.com> 1140 1141- Set "Oracle and/or its affiliates" as the vendor and copyright owner, 1142 accept upgrading from packages showing MySQL or Sun as vendor. 1143 1144* Fri Feb 12 2010 Joerg Bruehe <joerg.bruehe@sun.com> 1145 1146- Formatting changes: 1147 Have a consistent structure of separator lines and of indentation 1148 (8 leading blanks => tab). 1149- Introduce the variable "src_dir". 1150- Give the environment variables "MYSQL_BUILD_CC(CXX)" precedence 1151 over "CC" ("CXX"). 1152- Drop the old "with_static" argument analysis, this is not supported 1153 in 5.1 since ages. 1154- Introduce variables to control the handlers individually, as well 1155 as other options. 1156- Use the new "--with-plugin" notation for the table handlers. 1157- Drop handling "/etc/rc.d/init.d/mysql", the switch to "/etc/init.d/mysql" 1158 was done back in 2002 already. 1159- Make "--with-zlib-dir=bundled" the default, add an option to disable it. 1160- Add missing manual pages to the file list. 1161- Improve the runtime check for "libgcc.a", protect it against being tried 1162 with the Intel compiler "icc". 1163 1164* Mon Jan 11 2010 Joerg Bruehe <joerg.bruehe@sun.com> 1165 1166- Change RPM file naming: 1167 - Suffix like "-m2", "-rc" becomes part of version as "_m2", "_rc". 1168 - Release counts from 1, not 0. 1169 1170* Wed Dec 23 2009 Joerg Bruehe <joerg.bruehe@sun.com> 1171 1172- The "semisync" plugin file name has lost its introductory "lib", 1173 adapt the file lists for the subpackages. 1174 This is a part missing from the fix for bug#48351. 1175- Remove the "fix_privilege_tables" manual, it does not exist in 5.5 1176 (and likely, the whole script will go, too). 1177 1178* Mon Nov 16 2009 Joerg Bruehe <joerg.bruehe@sun.com> 1179 1180- remove erroneous traces of the InnoDB plugin (that is 5.1 only). 1181 1182* Tue Oct 06 2009 Magnus Blaudd <mvensson@mysql.com> 1183 1184- Removed mysql_fix_privilege_tables 1185 1186* Fri Oct 02 2009 Alexander Nozdrin <alexander.nozdrin@sun.com> 1187 1188- "mysqlmanager" got removed from version 5.4, all references deleted. 1189 1190* Fri Aug 28 2009 Joerg Bruehe <joerg.bruehe@sun.com> 1191 1192- Merge up from 5.1 to 5.4: Remove handling for the InnoDB plugin. 1193 1194* Thu Aug 27 2009 Joerg Bruehe <joerg.bruehe@sun.com> 1195 1196- This version does not contain the "Instance manager", "mysqlmanager": 1197 Remove it from the spec file so that packaging succeeds. 1198 1199* Mon Aug 24 2009 Jonathan Perkin <jperkin@sun.com> 1200 1201- Add conditionals for bundled zlib and innodb plugin 1202 1203* Fri Aug 21 2009 Jonathan Perkin <jperkin@sun.com> 1204 1205- Install plugin libraries in appropriate packages. 1206- Disable libdaemon_example and ftexample plugins. 1207 1208* Thu Aug 20 2009 Jonathan Perkin <jperkin@sun.com> 1209 1210- Update variable used for mysql-test suite location to match source. 1211 1212* Fri Nov 07 2008 Joerg Bruehe <joerg@mysql.com> 1213 1214- Correct yesterday's fix, so that it also works for the last flag, 1215 and fix a wrong quoting: un-quoted quote marks must not be escaped. 1216 1217* Thu Nov 06 2008 Kent Boortz <kent.boortz@sun.com> 1218 1219- Removed "mysql_upgrade_shell" 1220- Removed some copy/paste between debug and normal build 1221 1222* Thu Nov 06 2008 Joerg Bruehe <joerg@mysql.com> 1223 1224- Modify CFLAGS and CXXFLAGS such that a debug build is not optimized. 1225 This should cover both gcc and icc flags. Fixes bug#40546. 1226 1227* Fri Aug 29 2008 Kent Boortz <kent@mysql.com> 1228 1229- Removed the "Federated" storage engine option, and enabled in all 1230 1231* Tue Aug 26 2008 Joerg Bruehe <joerg@mysql.com> 1232 1233- Get rid of the "warning: Installed (but unpackaged) file(s) found:" 1234 Some generated files aren't needed in RPMs: 1235 - the "sql-bench/" subdirectory 1236 Some files were missing: 1237 - /usr/share/aclocal/mysql.m4 ("devel" subpackage) 1238 - Manual "mysqlbug" ("server" subpackage) 1239 - Program "innochecksum" and its manual ("server" subpackage) 1240 - Manual "mysql_find_rows" ("client" subpackage) 1241 - Script "mysql_upgrade_shell" ("client" subpackage) 1242 - Program "ndb_cpcd" and its manual ("ndb-extra" subpackage) 1243 - Manuals "ndb_mgm" + "ndb_restore" ("ndb-tools" subpackage) 1244 1245* Mon Mar 31 2008 Kent Boortz <kent@mysql.com> 1246 1247- Made the "Federated" storage engine an option 1248- Made the "Cluster" storage engine and sub packages an option 1249 1250* Wed Mar 19 2008 Joerg Bruehe <joerg@mysql.com> 1251 1252- Add the man pages for "ndbd" and "ndb_mgmd". 1253 1254* Mon Feb 18 2008 Timothy Smith <tim@mysql.com> 1255 1256- Require a manual upgrade if the alread-installed mysql-server is 1257 from another vendor, or is of a different major version. 1258 1259* Wed May 02 2007 Joerg Bruehe <joerg@mysql.com> 1260 1261- "ndb_size.tmpl" is not needed any more, 1262 "man1/mysql_install_db.1" lacked the trailing '*'. 1263 1264* Sat Apr 07 2007 Kent Boortz <kent@mysql.com> 1265 1266- Removed man page for "mysql_create_system_tables" 1267 1268* Wed Mar 21 2007 Daniel Fischer <df@mysql.com> 1269 1270- Add debug server. 1271 1272* Mon Mar 19 2007 Daniel Fischer <df@mysql.com> 1273 1274- Remove Max RPMs; the server RPMs contain a mysqld compiled with all 1275 features that previously only were built into Max. 1276 1277* Fri Mar 02 2007 Joerg Bruehe <joerg@mysql.com> 1278 1279- Add several man pages for NDB which are now created. 1280 1281* Fri Jan 05 2007 Kent Boortz <kent@mysql.com> 1282 1283- Put back "libmygcc.a", found no real reason it was removed. 1284 1285- Add CFLAGS to gcc call with --print-libgcc-file, to make sure the 1286 correct "libgcc.a" path is returned for the 32/64 bit architecture. 1287 1288* Mon Dec 18 2006 Joerg Bruehe <joerg@mysql.com> 1289 1290- Fix the move of "mysqlmanager" to section 8: Directory name was wrong. 1291 1292* Thu Dec 14 2006 Joerg Bruehe <joerg@mysql.com> 1293 1294- Include the new man pages for "my_print_defaults" and "mysql_tzinfo_to_sql" 1295 in the server RPM. 1296- The "mysqlmanager" man page got moved from section 1 to 8. 1297 1298* Thu Nov 30 2006 Joerg Bruehe <joerg@mysql.com> 1299 1300- Call "make install" using "benchdir_root=%%{_datadir}", 1301 because that is affecting the regression test suite as well. 1302 1303* Thu Nov 16 2006 Joerg Bruehe <joerg@mysql.com> 1304 1305- Explicitly note that the "MySQL-shared" RPMs (as built by MySQL AB) 1306 replace "mysql-shared" (as distributed by SuSE) to allow easy upgrading 1307 (bug#22081). 1308 1309* Mon Nov 13 2006 Joerg Bruehe <joerg@mysql.com> 1310 1311- Add "--with-partition" t 2006 Joerg Bruehe <joerg@mysql.com> 1312 1313- Use the Perl script to run the tests, because it will automatically check 1314 whether the server is configured with SSL. 1315 1316* Tue Jun 27 2006 Joerg Bruehe <joerg@mysql.com> 1317 1318- move "mysqldumpslow" from the client RPM to the server RPM (bug#20216) 1319 1320- Revert all previous attempts to call "mysql_upgrade" during RPM upgrade, 1321 there are some more aspects which need to be solved before this is possible. 1322 For now, just ensure the binary "mysql_upgrade" is delivered and installysql.com> 1323 1324- To run "mysql_upgrade", we need a running server; 1325 start it in isolation and skip password checks. 1326 1327* Sat May 20 2006 Kent Boortz <kent@mysql.com> 1328 1329- Always compile for PIC, position independent code. 1330 1331* Wed May 10 2006 Kent Boortz <kent@mysql.com> 1332 1333- Use character set "all" when compiling with Cluster, to make Cluster 1334 nodes independent on the character set directory, and the problem 1335 that two RPM sub packages both wants to install this directory. 1336 1337* Mon May 01 2006 Kent Boortz <kent@mysql.com> 1338 1339- Use "./libtool --mode=execute" instead of searching for the 1340 executable in current directory and ".libs". 1341 1342* Fri Apr 28 2006 Kent Boortz <kent@mysql.com> 1343 1344- Install and run "mysql_upgrade" 1345 1346* Wed Apr 12 2006 Jim Winstead <jimw@mysql.com> 1347 1348- Remove sql-bench, and MySQL-bench RPM (will be built as an independent 1349 project from the mysql-bench repository) 1350 1351* Tue Apr 11 2006 Jim Winstead <jimw@mysql.com> 1352 1353- Remove old mysqltestmanager and related programs 1354* Sat Apr 01 2006 Kent Boortz <kent@mysql.com> 1355 1356- Set $LDFLAGS from $MYSQL_BUILD_LDFLAGS 1357 1358* Tue Mar 07 2006 Kent Boortz <kent@mysql.com> 1359 1360- Changed product name from "Community Edition" to "Community Server" 1361 1362* Mon Mar 06 2006 Kent Boortz <kent@mysql.com> 1363 1364- Fast mutexes is now disabled by default, but should be 1365 used in Linux builds. 1366 1367* Mon Feb 20 2006 Kent Boortz <kent@mysql.com> 1368 1369- Reintroduced a max build 1370- Limited testing of 'debug' and 'max' servers 1371- Berkeley DB only in 'max' 1372 1373* Mon Feb 13 2006 Joerg Bruehe <joerg@mysql.com> 1374 1375- Use "-i" on "make test-force"; 1376 this is essential for later evaluation of this log file. 1377 1378* Thu Feb 09 2006 Kent Boortz <kent@mysql.com> 1379 1380- Pass '-static' to libtool, link static with our own libraries, dynamic 1381 with system libraries. Link with the bundled zlib. 1382 1383* Wed Feb 08 2006 Kristian Nielsen <knielsen@mysql.com> 1384 1385- Modified RPM spec to match new 5.1 debug+max combined community packaging. 1386 1387* Sun Dec 18 2005 Kent Boortz <kent@mysql.com> 1388 1389- Added "client/mysqlslap" 1390 1391* Mon Dec 12 2005 Rodrigo Novo <rodrigo@mysql.com> 1392 1393- Added zlib to the list of (static) libraries installed 1394- Added check against libtool wierdness (WRT: sql/mysqld || sql/.libs/mysqld) 1395- Compile MySQL with bundled zlib 1396- Fixed %%packager name to "MySQL Production Engineering Team" 1397 1398* Mon Dec 05 2005 Joerg Bruehe <joerg@mysql.com> 1399 1400- Avoid using the "bundled" zlib on "shared" builds: 1401 As it is not installed (on the build system), this gives dependency 1402 problems with "libtool" causing the build to fail. 1403 (Change was done on Nov 11, but left uncommented.) 1404 1405* Tue Nov 22 2005 Joerg Bruehe <joerg@mysql.com> 1406 1407- Extend the file existence check for "init.d/mysql" on un-install 1408 to also guard the call to "insserv"/"chkconfig". 1409 1410* Thu Oct 27 2005 Lenz Grimmer <lenz@grimmer.com> 1411 1412- added more man pages 1413 1414* Wed Oct 19 2005 Kent Boortz <kent@mysql.com> 1415 1416- Made yaSSL support an option (off by default) 1417 1418* Wed Oct 19 2005 Kent Boortz <kent@mysql.com> 1419 1420- Enabled yaSSL support 1421 1422* Sat Oct 15 2005 Kent Boortz <kent@mysql.com> 1423 1424- Give mode arguments the same way in all places 1425lenz@mysql.com> 1426 1427- fixed the removing of the RPM_BUILD_ROOT in the %%clean section (the 1428 $RBR variable did not get expanded, thus leaving old build roots behind) 1429 1430* Thu Aug 04 2005 Lenz Grimmer <lenz@mysql.com> 1431 1432- Fixed the creation of the mysql user group account in the postinstall 1433 section (BUG 12348) 1434- Fixed enabling the Archive storage engine in the Max binary 1435 1436* Tue Aug 02 2005 Lenz Grimmer <lenz@mysql.com> 1437 1438- Fixed the Requires: tag for the server RPM (BUG 12233) 1439 1440* Fri Jul 15 2005 Lenz Grimmer <lenz@mysql.com> 1441 1442- create a "mysql" user group and assign the mysql user account to that group 1443 in the server postinstall section. (BUG 10984) 1444 1445* Tue Jun 14 2005 Lenz Grimmer <lenz@mysql.com> 1446 1447- Do not build statically on i386 by default, only when adding either "--with 1448 static" or "--define '_with_static 1'" to the RPM build options. Static 1449 linking really only makes sense when linking against the specially patched 1450 glibc 2.2.5. 1451 1452* Mon Jun 06 2005 Lenz Grimmer <lenz@mysql.com> 1453 1454- added mysql_client_test to the "bench" subpackage (BUG 10676) 1455- added the libndbclient static and shared libraries (BUG 10676) 1456 1457* Wed Jun 01 2005 Lenz Grimmer <lenz@mysql.com> 1458 1459- use "mysqldatadir" variable instead of hard-coding the path multiple times 1460- use the "mysqld_user" variable on all occasions a user name is referenced 1461- removed (incomplete) Brazilian translations 1462- removed redundant release tags from the subpackage descriptions 1463 1464* Wed May 25 2005 Joerg Bruehe <joerg@mysql.com> 1465 1466- Added a "make clean" between separate calls to "BuildMySQL". 1467 1468* Thu May 12 2005 Guilhem Bichot <guilhem@mysql.com> 1469 1470- Removed the mysql_tableinfo script made obsolete by the information schema 1471 1472* Wed Apr 20 2005 Lenz Grimmer <lenz@mysql.com> 1473 1474- Enabled the "blackhole" storage engine for the Max RPM 1475 1476* Wed Apr 13 2005 Lenz Grimmer <lenz@mysql.com> 1477 1478- removed the MySQL manual files (html/ps/texi) - they have been removed 1479 from the MySQL sources and are now available seperately. 1480 1481* Mon Apr 4 2005 Petr Chardin <petr@mysql.com> 1482 1483- old mysqlmanager, mysq* Mon Feb 7 2005 Tomas Ulin <tomas@mysql.com> 1484 1485- enabled the "Ndbcluster" storage engine for the max binary 1486- added extra make install in ndb subdir after Max build to get ndb binaries 1487- added packages for ndbcluster storage engine 1488 1489* Fri Jan 14 2005 Lenz Grimmer <lenz@mysql.com> 1490 1491- replaced obsoleted "BuildPrereq" with "BuildRequires" instead 1492 1493* Thu Jan 13 2005 Lenz Grimmer <lenz@mysql.com> 1494 1495- enabled the "Federated" storage engine for the max binary 1496 1497* Tue Jan 04 2005 Petr Chardin <petr@mysql.com> 1498 1499- ISAM and merge storage engines were purged. As well as appropriate 1500 tools and manpages (isamchk and isamlog) 1501 1502* Fri Dec 31 2004 Lenz Grimmer <lenz@mysql.com> 1503 1504- enabled the "Archive" storage engine for the max binary 1505- enabled the "CSV" storage engine for the max binary 1506- enabled the "Example" storage engine for the max binary 1507 1508* Thu Aug 26 2004 Lenz Grimmer <lenz@mysql.com> 1509 1510- MySQL-Max now requires MySQL-server instead of MySQL (BUG 3860) 1511 1512* Fri Aug 20 2004 Lenz Grimmer <lenz@mysql.com> 1513 1514- do not link statically on IA64/AMD64 as these systems do not have 1515 a patched glibc installed 1516 1517* Tue Aug 10 2004 Lenz Grimmer <lenz@mysql.com> 1518 1519- Added libmygcc.a to the devel subpackage (required to link applications 1520 against the the embedded server libmysqld.a) (BUG 4921) 1521 1522* Mon Aug 09 2004 Lenz Grimmer <lenz@mysql.com> 1523 1524- Added EXCEPTIONS-CLIENT to the "devel" package 1525 1526* Thu Jul 29 2004 Lenz Grimmer <lenz@mysql.com> 1527 1528- disabled OpenSSL in the Max binaries again (the RPM packages were the 1529 only exception to this anyway) (BUG 1043) 1530 1531* Wed Jun 30 2004 Lenz Grimmer <lenz@mysql.com> 1532 1533- fixed server postinstall (mysql_install_db was called with the wrong 1534 parameter) 1535 1536* Thu Jun 24 2004 Lenz Grimmer <lenz@mysql.com> 1537 1538- added mysql_tzinfo_to_sql to the server subpackage 1539- run "make clean" instead of "make distclean" 1540 1541* Mon Apr 05 2004 Lenz Grimmer <lenz@mysql.com> 1542 1543- added ncurses-devel to the build prerequisites (BUG 3377) 1544 1545* Thu Feb 12 2004 Lenz Grimmer <lenz@mysql.com> 1546 1547- when using gcc, _always_ use CXX=gcc 1548- replaced Copyright with License field (Copyright is obsolete) 1549 1550* Tue Feb 03 2004 Lenz Grimmer <lenz@mysql.com> 1551 1552- added myisam_ftdump to the Server package 1553 1554* Tue Jan 13 2004 Lenz Grimmer <lenz@mysql.com> 1555 1556- link the mysql client against libreadline instead of libedit (BUG 2289) 1557 1558* Mon Dec 22 2003 Lenz Grimmer <lenz@mysql.com> 1559 1560- marked /etc/logrotate.d/mysql as a config file (BUG 2156) 1561 1562* Sat Dec 13 2003 Lenz Grimmer <lenz@mysql.com> 1563 1564- fixed file permissions (BUG 1672) 1565 1566* Thu Dec 11 2003 Lenz Grimmer <lenz@mysql.com> 1567 1568- made testing for gcc3 a bit more robust 1569 1570* Fri Dec 05 2003 Lenz Grimmer <lenz@mysql.com> 1571 1572- added missing file mysql_create_system_tables to the server subpackage 1573 1574* Fri Nov 21 2003 Lenz Grimmer <lenz@mysql.com> 1575 1576- removed dependency on MySQL-client from the MySQL-devel subpackage 1577 as it is not really required. (BUG 1610) 1578 1579* Fri Aug 29 2003 Lenz Grimmer <lenz@mysql.com> 1580 1581- Fixed BUG 1162 (removed macro names from the changelog) 1582- Really fixed BUG 998 (disable the checking for installed but 1583 unpackaged files) 1584 1585* Tue Aug 05 2003 Lenz Grimmer <lenz@mysql.com> 1586 1587- Fixed BUG 959 (libmysqld not being compiled properly) 1588- Fixed BUG 998 (RPM build errors): added missing files to the 1589 distribution (mysql_fix_extensions, mysql_tableinfo, mysqldumpslow, 1590 mysql_fix_privilege_tables.1), removed "-n" from install section. 1591 1592* Wed Jul 09 2003 Lenz Grimmer <lenz@mysql.com> 1593 1594- removed the GIF Icon (file was not included in the sources anyway) 1595- removed unused variable shared_lib_version 1596- do not run automake before building the standard binary 1597 (should not be necessary) 1598- add server suffix '-standard' to standard binary (to be in line 1599 with the binary tarball distributions) 1600- Use more RPM macros (_exec_prefix, _sbindir, _libdir, _sysconfdir, 1601 _datadir, _includedir) throughout the spec file. 1602- allow overriding CC and CXX (required when building with other compilers) 1603 1604* Fri May 16 2003 Lenz Grimmer <lenz@mysql.com> 1605 1606- re-enabled RAID again 1607 1608* Wed Apr 30 2003 Lenz Grimmer <lenz@mysql.com> 1609 1610- disabled MyISAM RAID (--with-raid)- it throws an assertion which 1611 needs to be investigated first. 1612 1613* Mon Mar 10 2003 Lenz Grimmer <lenz@mysql.com> 1614 1615- added missing file mysql_secure_installation to server subpackage 1616 (BUG 141) 1617 1618* Tue Feb 11 2003 Lenz Grimmer <lenz@mysql.com> 1619 1620- re-added missing pre- and post(un)install scripts to server subpackage 1621- added config file /etc/my.cnf to the file list (just for completeness) 1622- make sure to create the datadir with 755 permissions 1623 1624* Mon Jan 27 2003 Lenz Grimmer <lenz@mysql.com> 1625 1626- removed unusedql.com> 1627 1628- Reworked the build steps a little bit: the Max binary is supposed 1629 to include OpenSSL, which cannot be linked statically, thus trying 1630 to statically link against a special glibc is futile anyway 1631- because of this, it is not required to make yet another build run 1632 just to compile the shared libs (saves a lot of time) 1633- updated package description of the Max subpackage 1634- clean up the BuildRoot directory afterwards 1635 1636* Mon Jul 15 2002 Lenz Grimmer <lenz@mysql.com> 1637 1638- Updated Packager information 1639- Fixed the build options: the regular package is supposed to 1640 include InnoDB and linked statically, while the Max package 1641 should include BDB and SSL support 1642 1643* Fri May 03 2002 Lenz Grimmer <lenz@mysql.com> 1644 1645- Use more RPM macros (e.g. infodir, mandir) to make the spec 1646 file more portable 1647- reorganized the installation of documentation files: let RPM 1648 take care of this 1649- reorganized the file list: actually install man pages along 1650 with the binaries of the respective subpackage 1651- do not include libmysqld.a in the devel subpackage as well, if we 1652 have a special "embedded" subpackage 1653- reworked the package descriptions 1654 1655* Mon Oct 8 2001 Monty 1656 1657- Added embedded server as a separate RPM 1658 1659* Fri Apr 13 2001 Monty 1660 1661- Added mysqld-max to the distribution 1662 1663* Tue Jan 2 2001 Monty 1664 1665- Added mysql-test to the bench package 1666 1667* Fri Aug 18 2000 Tim Smith <tim@mysql.com> 1668 1669- Added separate libmysql_r directory; now both a threaded 1670 and non-threaded library is shipped. 1671 1672* Tue Sep 28 1999 David Axmark <davida@mysql.com> 1673 1674- Added the support-files/my-example.cnf to the docs directory. 1675 1676- Removed devel dependency on base since it is about client 1677 development. 1678 1679* Wed Sep 8 1999 David Axmark <davida@mysql.com> 1680 1681- Cleaned up some for 3.23. 1682 1683* Thu Jul 1 1999 David Axmark <davida@mysql.com> 1684 1685- Added support for shared libraries in a separate sub 1686 package. Original fix by David Fox (dsfox@cogsci.ucsd.edu) 1687 1688- The --enable-assembler switch is now automatically disables on 1689 platforms there assembler code is unavailable. This should allow 1690 building this RPM on non i386 systems. 1691 1692* Mon Feb 22 1999 David Axmark <david@detron.se> 1693 1694- Removed unportable cc switches from the spec file. The defaults can 1695 now be overridden with environment variables. This feature is used 1696 to compile the official RPM with optimal (but compiler version 1697 specific) switches. 1698 1699- Removed the repetitive description parts for the sub rpms. Maybe add 1700 again if RPM gets a multiline macro capability. 1701 1702- Added support for a pt_BR translation. Translation contributed by 1703 Jorge Godoy <jorge@bestway.com.br>. 1704 1705* Wed Nov 4 1998 David Axmark <david@detron.se> 1706 1707- A lot of changes in all the rpm and install scripts. This may even 1708 be a working RPM :-) 1709 1710* Sun Aug 16 1998 David Axmark <david@detron.se> 1711 1712- A developers changelog for MySQL is available in the source RPM. And 1713 there is a history of major user visible changed in the Reference 1714 Manual. Only RPM specific changes will be documented here. 1715