Update to “Upgrading to MySQL 5.0.36 on RHEL and CentOS”
If you followed my earlier guide on Upgrading to MySQL 5.0.36 on RHEL & CentOS 4, you don't really need to read this. If you haven't, you may want to read the other for reference, but I would strongly recommend that you follow this guide instead.
My prior two releases of MySQL have been using a heavily modified version of the official MySQL.com spec file for RHEL. My goal for those releases was to provide packages with the same names as the default RH-supplied packages. This involved renaming all of the packages that were created, as well as combining "MySQL-client" and "MySQL-common" into a single package called "mysql". There were also a few other compatibility changes made (such as renaming the init script from "mysql" to "mysqld" so that it wouldn't break any applications that tried to restart MySQL using that script.
That said, after a comment by Jacek on my last how-to, I decided to go back to the latest src.rpm provided in the Fedora development tree and update it to work with 5.0.36. While it took a good amount of time to work out the bugs, I have come up with a new set of packages that not only mimic the structure of the default Red Hat/CentOS/Fedora packages, but duplicate the functionality as well.
A good portion of my time was spent updating some of the patches to work with this newest version of MySQL. A few were no longer needed as the patches had been merged into the latest code-base and a few needed to be updated so that they could patch the newest version of the source. There were also a couple of man pages that were left behind so that necessitated another change (and another 90 minutes rebuilding the RPMs).
In any case, here they are.
Update (9/24/2009): Packages deleted, use the yum repository instead.