Bug 62205 - rpm enhancement request
Summary: rpm enhancement request
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 7.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-03-28 13:10 UTC by Steve Coile
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-03-28 13:10:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Steve Coile 2002-03-28 13:10:45 UTC
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 14:09:43 UTC
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.