Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1169044 - missing %lang tags for i18n files
Summary: missing %lang tags for i18n files
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: Unspecified
OS: Linux
Target Milestone: ---
Assignee: Siddhesh Poyarekar
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2014-11-29 11:15 UTC by (GalaxyMaster)
Modified: 2016-11-24 12:11 UTC (History)
8 users (show)

Fixed In Version: glibc-2.20-7.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-12-05 13:24:10 UTC
Type: Bug

Attachments (Terms of Use)

Description (GalaxyMaster) 2014-11-29 11:15:15 UTC
Description of problem:

The glibc-common package contains /usr/share/i18n/locales/* files.  The files in /usr/share/i18n/locales are not tagged with the corresponding %lang() in the spec file, hence all locales are always installed regardless of the %_install_langs RPM macro setting.

How reproducible:

Below is the output of the first 10 lines of a query that should have printed the corresponding language tag before the filename:

[root@localhost ~]# rpm -ql --queryformat '[%{FILELANGS}\t%{FILENAMES}\n]' glibc-common | fgrep i18n/locales | head -10

Expected results:

It was expected that all <lang>_<flavour> files (e.g. 'aa_DJ') would have the <lang> tag assigned to them (e.g. for 'aa_*' the language should be obviously 'aa').

Additional info:

It's possible that the change should be applied in the rpm package instead (to the so the %find_lang macro would handle this case.

Comment 2 Siddhesh Poyarekar 2014-12-05 13:24:10 UTC
Those files are only installed by glibc, so it doesn't make sense to patch for it.  I have pushed a patch in rawhide (2.20.90-12) which should give language tags to these files.  Please test when the build lands in your mirror.

Comment 3 Fedora Update System 2015-01-06 17:36:54 UTC
glibc-2.20-7.fc21 has been submitted as an update for Fedora 21.

Comment 4 Fedora Update System 2015-01-11 03:00:00 UTC
glibc-2.20-7.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

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