Bug 1048851 - RPM's find_lang.sh does not handle LC_SCRIPTS
Summary: RPM's find_lang.sh does not handle LC_SCRIPTS
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Michael Schröder
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-16 09:37 UTC by Fabian Vogt
Modified: 2017-07-31 09:47 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Vogt 2017-07-16 09:37:33 UTC
This results in files such as /usr/share/locale/fi/LC_SCRIPTS/dolphin/dolphin.js not getting added to the %{name}.lang file, causing build fails.
A workaround is to add those files in the %files section.
Comment 1 Michael Schröder 2017-07-31 09:38:36 UTC
What on earth is LC_SCRIPTS? The locale(7) manpage does not have it. Looks like all that is needed would be to allow .js like .mo in the first find?
Comment 2 Fabian Vogt 2017-07-31 09:47:27 UTC
(In reply to Michael Schröder from comment #1)
> What on earth is LC_SCRIPTS?

It's used for some more complex translations for more complex languages.
For example, different verbs might be used for special counts 0/1/2/3+.

> The locale(7) manpage does not have it. Looks
> like all that is needed would be to allow .js like .mo in the first find?

No, there can also me property maps (.pmap) and compiled property maps (.pmapc).
I'm not aware of any other files that can be in there, but I assume that everything is allowed...

https://build.opensuse.org/package/binary/KDE:Applications/kgeography?arch=x86_64&filename=kgeography-lang-17.04.3-7.1.noarch.rpm&repository=KDE_Frameworks5_openSUSE_Leap_42.3