Bug 2373 - problem with language and documetation (rpm, v. 2.9x-3.0)
problem with language and documetation (rpm, v. 2.9x-3.0)
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
6.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jay Turner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-04-26 14:25 EDT by pius
Modified: 2015-01-07 18:37 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-05-01 11:14:51 EDT
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 pius 1999-04-26 14:25:29 EDT
There is a problem with building/installing rpm packages which contains
%lang macros in the spec file. The problem is that files in %doc are getting
the same language as that set in the last line of %files. So if there are
some files labeled with %lang macro at the end of the %files section and
the last one is %lang(xx), documentation files will get default language set
to xx (no matter what lang it will be). And if there's no xx language
in LINGUAS or LANG variable, documentation files won't be installed.
This problem is common for all of the 2.9x rpm versions to current (3.0.1).
Comment 1 Jeff Johnson 1999-05-01 11:12:59 EDT
Fixed in rpm-3.0.1-4 (and cvs). Thanks for finding.
Comment 2 Jeff Johnson 1999-05-01 11:14:59 EDT
Actually the inheritance of last %lang to %doc is what was
fixed. Files that are marked with %lang are not installed unless
mentioned in LANG or LINGUAS at install time.

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