Bug 448549

Summary: Cups doesn't use %find_lang for locale
Product: [Fedora] Fedora Reporter: Nicolas Chauvet (kwizart) <kwizart>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-27 16:51:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Nicolas Chauvet (kwizart) 2008-05-27 16:27:35 UTC
Description of problem:
Cups doesn't use %find_lang for locale.
This will make the package incompatible with the %_install_lang macro which
allow to only install the desired locale

Version-Release number of selected component (if applicable):
all version until current.

How reproducible: always

Actual results: cups only install a .po file into %{_datadir}/locale/%lang 
and load it via cups/langage.c
see l.717     
snprintf(filename, sizeof(filename), "%s/%s/cups_%s.po", cg->localedir,

Expected results: cups should use gettext to properly build localization and the
rpm spec file will have to use the %find_lang macro once done.

Additional info: the current svn version doesn't have any improvement about this

Comment 1 Tim Waugh 2008-05-27 16:51:21 UTC
This will never get upstream buy-in, and has been discussed before.