rpm

This page describes how to alter rpm so that it produces CPU-optimized binaries. You will also need a modified redhat-rpm-config package and, if you use the Intel compiler, the intel-extras package.

rpm-4.4.2.3-2

SRPMS

Start with the upstream rpm source RPM.

SOURCES

Add the following patches.

rpm-4.4.2.3-64bit.patch
This is a minor patch for 64-bit platforms which makes some debug statements print correctly.
rpm-4.4.2.3-intel.patch
This patch makes sure that the following architecture names exist and that relevant compiler optimization flags are chosen: pentium3, pentium4, pentiumm, prescott, nocona,and core2.
rpm-4.4.2.3-warning.patch
This patch eliminates a boatload of C compiler warnings, so that I have some hope of being able to dig through the remaining ones to find real problems.
rpm-4.4.2.3-doxygen.patch
This patch updates the Doxyfile for use with doxygen 1.5.5 (the unpatched Doxyfile is for doxygen 1.3.5).

SPECS

Finally, apply rpm.spec.patch to the spec file and build.

Back to the RPMS

Last modified: Mon May 19 17:17:14 MDT 2008 by Jerry James