Bug 917740 - Review Request: MySQL - Renaming package mysql to MySQL
Summary: Review Request: MySQL - Renaming package mysql to MySQL
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jiri Popelka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-04 16:51 UTC by Honza Horak
Modified: 2013-03-22 15:27 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-22 15:27:02 UTC
Type: ---
Embargoed:
jpopelka: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Honza Horak 2013-03-04 16:51:15 UTC
Spec URL: http://hhorak.fedorapeople.org/mysql-rename/MySQL.spec
SRPM URL: http://hhorak.fedorapeople.org/mysql-rename/MySQL-5.5.30-2.fc18.src.rpm

Description: This is a re-review request for a package rename as described at http://fedoraproject.org/wiki/Package_Renaming_Process -- we want to rename package "mysql" to "MySQL" and make "mysql" only a virtual provider in F19+. MySQL will correspond with RPM packages provided by Oracle. As a result of this renaming there will be less conflicts with another mysql implementation -- MariaDB -- in Fedora repository.

MySQL is a multi-user, multi-threaded SQL database server. MySQL is a client/server implementation consisting of a server daemon (mysqld) and many different client programs and libraries. The base package contains the standard MySQL client programs and generic MySQL files.

Fedora Account System Username: hhorak

Comment 1 Jiri Popelka 2013-03-05 14:58:29 UTC
According to http://fedoraproject.org/wiki/Package_Renaming_Process
I must state that I've checked the package for the proper Obsoletes and Provides, so I'm doing it now :-)
This case is little more complicated. Even this is a renaming review, MySQL is not a replacement for mysql.
The replacement is mariadb (bug #875150), which contains proper Obsoletes and Provides.
There are no Obsoletes and Provides in MySQL.spec but that's completely OK.

The only note I have is that %clean section can be safely removed.

Package Review
==============

Key:
[x] = Pass
[!] = Fail
[N/A] = Not Applicable

===== MUST items =====

C/C++:
[x]: Header files in -devel subpackage, if present.
[x]: Package does not contain any libtool archives (.la)
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: Rpath absent or only used for internal libs.
[x]: Development (unversioned) .so files in -devel subpackage, if present.

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: Package successfully compiles and builds into binary rpms on at least one
     supported primary architecture.
[x]: %build honors applicable compiler flags or justifies otherwise.
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[x]: Package contains no bundled libraries.
[x]: Changelog in prescribed format.
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Sources contain only permissible code or content.
[x]: %config files are marked noreplace or the reason is justified.
[x]: Each %files section contains %defattr if rpm < 4.4
[N/A]: Macros in Summary, %description expandable at SRPM build time.
[N/A]: Package contains desktop file if it is a GUI application.
[x]: Development files must be in a -devel package
[x]: Package requires other packages for directories it uses.
[x]: Package uses nothing in %doc for runtime.
[x]: Package is not known to require ExcludeArch.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Fully versioned dependency in subpackages, if present.
[x]: Spec file lacks Packager, Vendor, PreReq tags.
[x]: If (and only if) the source package includes the text of the license(s)
     in its own file, then that file, containing the text of the license(s)
     for the package is included in %doc.
[x]: License field in the package spec file matches the actual license.
[x]: License file installed when any subpackage combination is installed.
[x]: Package consistently uses macros.
[x]: Package is named using only allowed ASCII characters.
[x]: Package is named according to the Package Naming Guidelines.
[x]: No %config files under /usr.
[x]: Package does not generate any conflict.
     Note: Conflicts: tags contain justification.
[x]: Package do not use a name that already exist
[x]: Package obeys FHS, except libexecdir and /usr/target.
[x]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
     Note: Obsoletes and Provides are not necessary here, because the
           replacement for mysql is mariadb where the correct Obsoletes and
           Provides can be found.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package installs properly.
[x]: Package is not relocatable.
[x]: Requires correct, justified where necessary.
[x]: Rpmlint is run on all rpms the build produces.
[x]: Sources used to build the package match the upstream source, as provided
     in the spec URL.
[x]: Spec file is legible and written in American English.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: Package contains systemd file(s) if in need.
[x]: File names are valid UTF-8.
[x]: Useful -debuginfo package or justification otherwise.
[N/A]: Large documentation must go in a -doc subpackage.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[!]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
     Note: the %clean section can be safely removed
[N/A]: If the source package does not include license text(s) as a separate file
     from upstream, the packager SHOULD query upstream to include it.
[x]: Dist tag is present.
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Final provides and requires are sane.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: The placement of pkgconfig(.pc) files are correct.
[x]: Scriptlets must be sane, if used.
[x]: SourceX tarball generation or download is documented.
[x]: SourceX / PatchY prefixed with %{name}.
[x]: SourceX is a working URL.
[x]: %check is present and all tests pass.
     Note: OK, see bug #875150, comment #17
[N/A]: Packages should try to preserve timestamps of original installed files.
[x]: Files in /run, var/run and /var/lock uses tmpfiles.d when appropriate
[x]: Spec use %global instead of %define.

Comment 2 Jiri Popelka 2013-03-05 14:59:55 UTC
There hasn't been any blocker in the previous comment so I consider this package APPROVED.

Comment 3 Honza Horak 2013-03-05 17:01:30 UTC
New Package SCM Request
=======================
Package Name: MySQL
Short Description: MySQL client programs, shared libraries and MySQL daemon
Owners: hhorak tgl
Branches: 
InitialCC:

Comment 4 Gwyn Ciesla 2013-03-05 17:09:38 UTC
Git done (by process-git-requests).

Comment 6 Tom Lane 2013-03-11 16:32:03 UTC
(In reply to comment #5)
> Please eol/retire/block mysql now,

Done.


Note You need to log in before you can comment on or make changes to this bug.