Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=955551 --- Comment #5 from Matthias Runge <mrunge@xxxxxxxxxx> --- changing the directory structure is a bad idea. At python-django-horizon I took the following approach: # Handling locale files # This is adapted from the %%find_lang macro, which cannot be directly # used since Django locale files are not located in %%{_datadir} # # The rest of the packaging guideline still apply -- do not list # locale files by hand! (cd $RPM_BUILD_ROOT && find . -name 'django*.mo') | %{__sed} -e 's|^.||' | %{__sed} -e \ 's:\(.*/locale/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:' \ >> django.lang %endif You should change the sed part, and of course, rename 'django*.mo' to whatever suits you. -- You are receiving this mail because: You are on the CC list for the bug. Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=QrSbIo9eRt&a=cc_unsubscribe _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review