# changelog

author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Add the "%doc" directive for all man pages and other documentation;
    also, some re-ordering to reduce differences between spec files.


author: Timothy Smith <tim@mysql.com>
changelog:
  - Require a manual upgrade if the alread-installed mysql-server is
    from another vendor, or is of a different major version.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Get rid of the "warning: Installed (but unpackaged) file(s) found:"
    Some generated files aren't needed in RPMs:
    - the "sql-bench/" subdirectory
    Some files were missing:
    - /usr/share/aclocal/mysql.m4  ("devel" subpackage)
    - Manuals for embedded tests   ("test" subpackage)
    - Manual "mysqlbug" ("server" subpackage)
    - Manual "mysql_find_rows" ("client" subpackage)


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Modify CFLAGS and CXXFLAGS such that a debug build is not optimized.
    This should cover both gcc and icc flags.  Fixes bug#40546.


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - Formatting changes:
    Have a consistent structure of separator lines and of indentation
    (8 leading blanks => tab).
  - Some other cleanup to bring "specific" and "generic" spec files
    better in sync, as written in bug#33248.
  - Remove handling the "maria" engine, that is too far off.
  - Make "--with-zlib-dir=bundled" the default, add an option to disable it.
  - Improve the runtime check for "libgcc.a", protect it against being tried
    with the Intel compiler "icc".
  - Alignment with generic: ensure some C++ flags.


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - Set "Oracle and/or its affiliates" as the vendor and copyright owner,
    accept upgrading from packages showing MySQL or Sun as vendor.
  - Fix a shell syntax error: "define" is not executable, add a ":" statement.


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - Change the behaviour on upgrade:
    *Iff* the server was stopped before the upgrade is started, this is taken as a
    sign the administrator is handling that manually, and so the new server will
    not be started automatically at the end of the upgrade.
    The start/stop scripts will still be installed, so the server will be started
    on the next machine boot.
    This is the 5.1 version of fixing bug#27072 (RPM autostarting the server).


author: Kent Boortz <kent.boortz@sun.com>
changelog:
  - Merged in code from the MySQL Server 5.5 spec file, that corrects
    the handling of "libmygcc.a"

  - Corrected problem that the "lib/mysql/plugin" directory might be
    empty, making the copy of plugins fail


author: Joerg Bruehe <joerg.bruehe@oracle.com>>
changelog:
  - Fix bug#45415: "rpm upgrade recreates test database"
    Let the creation of the "test" database happen only during a new installation,
    not in an RPM upgrade.
    This affects both the "mkdir" and the call of "mysql_install_db".


author: Joerg Bruehe <joerg.bruehe@oracle.com>
changelog:
  - Let the RPM capabilities ("obsoletes" etc) ensure that an upgrade may replace
    the RPMs of any configuration (of the current or the preceding release series)
    by the new ones. This is done by not using the implicitly generated capabilities
    (which include the configuration name) and relying on more generic ones which
    just list the function ("server", "client", ...).
    The implicit generation cannot be prevented, so all these capabilities must be
    explicitly listed in "Obsoletes:"


author: Jonathan Perkin <jonathan.perkin@oracle.com>
changelog:
  - Add support for Oracle Linux 6 and Red Hat Enterprise Linux 6.  Due to
    changes in RPM behaviour ($RPM_BUILD_ROOT is removed prior to install)
    this necessitated a move of the libmygcc.a installation to the install
    phase, which is probably where it belonged in the first place.


author: Joerg Bruehe <joerg.bruehe@oracle.com>
changelog:
  - Fix duplicate mentioning of "mysql_plugin" and its manual page,
    it is better to keep alphabetic order in the files list (merging!).


author: Joerg Bruehe <joerg.bruehe@oracle.com>
changelog:
  - Add a macro "runselftest":
    if set to 1 (default), the test suite will be run during the RPM build;
    this can be oveeridden via the command line by adding
        --define "runselftest 0"
    Failures of the test suite will NOT make the RPM build fail!


author: Joerg Bruehe <joerg.bruehe@oracle.com>
changelog:
  - Let the installation use the new option "--random-passwords" of "mysql_install_db".
    (Bug# 12794345 Ensure root password)
  - Fix an inconsistency: "new install" vs "upgrade" are told from the (non)existence
    of "$mysql_datadir/mysql" (holding table "mysql.user" and other system stuff).


author: Joerg Bruehe <joerg.bruehe@oracle.com>
changelog:
  - Allow to override the default to use the bundled yaSSL by an option like
        --define="with_ssl /path/to/ssl"


