Bug 716421
Summary: | cups package doesn't tag localization files correctly | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mads Kiilerich <mads> |
Component: | cups | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 14 | CC: | jpopelka, twaugh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | cups-1.4.7-3.fc15 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-07-08 18:04:25 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mads Kiilerich
2011-06-24 11:30:36 UTC
Correction: %find_lang probably needs --all-name because of the naming of the locale files (as described on bug 716426 ) Other localized files such as /usr/share/cups/templates/*/*.tmpl should perhaps be marked up manually. When trying this locally I get: + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/cups-1.4.7-2.fc14.x86_64 cups --all-name No translations found for cups in /builddir/build/BUILDROOT/cups-1.4.7-2.fc14.x86_64 Is it possible to use find_land for this, or would it need to be done manually? Oh, probably the reason is that CUPS uses uncompiled po files (i.e. it doesn't use gettext), and so find-lang.sh doesn't find any *.mo files to work on. Yes, it seems like you are right - and there doesn't seem to be any way to make find-lang.sh do the right thing. I guess something like this could be used instead: find $RPM_BUILD_ROOT -type f -o -type l | sed ' s:.*\(/usr/share/locale/\)\([^/_]\+\)\(.*\.po$\):%lang(\2) \1\2\3: /^%lang(C)/d /^\([^%].*\)/d ' > cups.lang Fixed in: cups-1.4.7-2.fc14 cups-1.4.7-3.fc15 cups-1.5-0.8.rc1.fc16 Thanks. cups-1.4.7-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/cups-1.4.7-3.fc15 Package cups-1.4.7-3.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing cups-1.4.7-3.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/cups-1.4.7-3.fc15 then log in and leave karma (feedback). cups-1.4.7-2.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/cups-1.4.7-2.fc14 cups-1.4.7-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. cups-1.4.8-2.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/cups-1.4.8-2.fc14 cups-1.4.8-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |