Bug 736523
| Summary: | find-lang.sh vs gnome help | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matthias Clasen <mclasen> |
| Component: | rpm | Assignee: | Panu Matilainen <pmatilai> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | ejsheldrake, ffesti, jnovy, pmatilai |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-09 08:34:22 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
Matthias Clasen
2011-09-07 22:29:35 UTC
Here is what I put into aisleriot.spec:
echo "%%dir %%{_datadir}/help/C" >> aisleriot.lang
echo "%%{_datadir}/help/C/%%{name}" >> aisleriot.lang
for l in ca de el en_GB es eu fr oc ru sl sr sr@latin sv zh_CN; do
echo "%%dir %%{_datadir}/help/$l"
echo "%%lang($l) %%{_datadir}/help/$l/%%{name}"
done >> aisleriot.lang
Heh, you're not the only one finding the sed-jungle in find-lang close to impenetrable... rpm-4.9.1.2-2.fc17 should now find the new location too when --with-gnome is used, let me know if it works for you (or not). Assuming no news is good news... (the fix is in both F17 and rawhide) rpm-4.9.1.3-1.fc17 does not find pt_BR, zh_CN, zh_HK, zh_TW under /usr/share/help/ - other parts of find-lang.sh mark zh_CN, zh_HK, zh_TW all as %lang(zh). |