Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

7.210. redhat-rpm-config

Updated redhat-rpm-config packages that fix two bugs and add two enhancements are now available for Red Hat Enterprise Linux 6.
The redhat-rpm-config packages are used during the build of RPM packages to apply various default distribution options determined by Red Hat. It also provides a few Red Hat RPM macro customizations, such as those used during the building of Driver Update packages.

Bug Fixes

The kmodtool script is a helper script for building kernel module RPMs. Previously, the "verrel" parameter in the kmodtool script returned the kernel version and variant string with a dangling sign ("."). With this update, the dangling sign has been removed from the "verrel" output.
The "brp-java-repack-jars" script was unable to correctly handle certain Java Archive (JAR) files. Those files set permissions on "exploded" directory hierarchies to non-standard permissions modes, such as "0000". With this update, standard user permissions are set correctly on the "exploded" directory hierarchy, which prevents certain errors from occurring, such as being unable to remove the directory tree when it is necessary to do so.


Previously, the number of parallel compilation jobs suggested by the %_smp_mflags macro was limited to maximum of 16 CPUs. This update introduces the %_smp_ncpus_max macro, which makes the CPU limit adjustable.
Previously, the /usr/lib/rpm/redhat/rpmrc file contained a leftover "macrofiles" line, which is ignored by later versions of RPM. With this update, the aforementioned line has been removed from rprmc to avoid confusion.
All users of redhat-rpm-config are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.