"No translations found" error in rpmbuild

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In the %install of my spec file I do this:

Name: sunny

...

rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -01 --skip-build --root $RPM_BUILD_ROOT
%find_lang %{name}

unfortunately, my rpmbuild dies with this error:
"No translations found for sunny in /home/erikb/rpmbuild/BUILDROOT/sunny-1.0-1.i386"

Peeking into the BUILDROOT, I find I have these valid .mo and .po files with my translations in my buildroot (all copied over by my setup.py):
BUILDROOT/sunny-1.0-1.i386/usr/share/sunny/locale/da/sunny.mo
BUILDROOT/sunny-1.0-1.i386/usr/share/sunny/locale/de/sunny.mo
BUILDROOT/sunny-1.0-1.i386/usr/share/sunny/po/da.po
BUILDROOT/sunny-1.0-1.i386/usr/share/sunny/po/de.po

Any suggestions how to get the translations into my application? ÂI am not sure why rpmbuild is not finding the files it needs. ÂThank you! Â

(Note: if I remove %find_lang, my rpm builds successfully)
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux