Hide Forgot
Description of problem: The subject says that all ... Trying to package something with localized manpages you end up having %files section filed with lines like: %lang(CZ) %{_mandir}/cs/man1/*.1.gz %lang(DE) %{_mandir}/de/man1/*.1.gz ... It'd be very nice if these are also handled by the %find_lang macro.
The find-lang script knows a number of arguments (run /usr/lib/rpm/find-lang.sh to see them), one of them is to also collect localized manpages. So simply adding --with-man to %find_lang should do what you want.
(In reply to comment #1) > The find-lang script knows a number of arguments (run /usr/lib/rpm/find-lang.sh > to see them), one of them is to also collect localized manpages. > > So simply adding --with-man to %find_lang should do what you want. ah, I wish I had your crystal ball that would suggest that find_lang is actually a shell script which has a commandline help :-) note that https://fedoraproject.org/wiki/Packaging:Guidelines says: "This macro will locate all of the locale files that belong to your package (by name), and put this list in a file." but it isn't mentioned anywhere that you need to specify any additional options to locate really ALL of the locale files, hence the logic "locale files not located => the macro cannot locate them" which led to this report so, as the functionality is already in, it is just a matter of having it used => I'm changing the subject, by default please locate ALL the files, not just a subset also, I've proposed an update to packaging guidelines to make things more obvious - see https://fedorahosted.org/fpc/ticket/128 ... but if the behaviour of this macro is going to change, the text may need another update
This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping