[Fedora-packaging] how to handle translations problems with macro find_lang

Martin Gansser linux4martin at web.de
Thu Mar 19 09:53:45 UTC 2015


I am working on a review of the package xvst [1]

The binary package contains translations in /usr/share/xvst/languages. 
Those files need to be handled by %find_lang.
The package uses the strange *.language extension for the non-qm files in that directory. 

I tried already the following by setting 

%find_lang xVST --with-qt

%exclude %{_datadir}/%{name}/languages/*qm

The *.language files are also locale files in common sense, but find_lang isn't able to handle them. 
This is the last change in the rpm spec file [2]

Have someone a idea how to handle this ?

[1] https://bugzilla.rpmfusion.org/show_bug.cgi?id=3563
[2] https://www.dropbox.com/s/1cu7oc436ygkadx/xvst.spec?dl=0


More information about the packaging mailing list