From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0) Description of problem: Would like to see the following in RPM (not evident in 3.0.6, included with SuSE 7.3): --> Means of distinguishing locale-specifc files, such as message catalogs and the ability to selectively include/exclude them during installation. E.g.: rpm -i --locale=en_US ... --> Means of uninstalling only documentation (and irrelevent local-specific) components to reduce an installation's footprint. E.g.: rpm --trim --docs -- locale=-en_US ... Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: N/A Additional info:
Hey Steve! Locale specific file installation is controlled by (from /usr/lib/rpm/macros) # A colon separated list of desired locales to be installed; # "all" means install all locale specific files. # %_install_langs all So echo "C:%en" >> /etc/rpm/macros does the trick. Reinstalling a package with --excludedocs --force has the same effect as your --trim