Bug 62205 - rpm enhancement request
rpm enhancement request
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
7.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-03-28 08:10 EST by Steve Coile
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-03-28 08:10:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Steve Coile 2002-03-28 08:10:45 EST
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:
Comment 1 Jeff Johnson 2002-03-28 09:09:43 EST
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

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