Packaging problem with %find_lang

Paul paul at all-the-johnsons.co.uk
Sun Jan 3 01:22:19 UTC 2010


Hi,

Packaging up monodevelop-boo and I've hit a problem with find_lang which
I can't figure out as everything seems fine!

I have the %find_lang %{name} in the %install section where name =
monodevelop-boo (which is the correct name for the translation files).
When the spec file reaches this point though, it complains there are no
translation files despite there being translation files!

The build is producing the following 

mkdir
-p /home/paul/rpmbuild/BUILDROOT/monodevelop-boo-2.2-1.fc13.i386/usr/lib/monodevelop/AddIns/BooBinding/locale/zh_CN/LC_MESSAGES/
cp '../build/locale/zh_CN/LC_MESSAGES/monodevelop-boo.mo'
'/home/paul/rpmbuild/BUILDROOT/monodevelop-boo-2.2-1.fc13.i386/usr/lib/monodevelop/AddIns/BooBinding/locale/zh_CN/LC_MESSAGES/monodevelop-boo.mo'
mkdir
-p /home/paul/rpmbuild/BUILDROOT/monodevelop-boo-2.2-1.fc13.i386/usr/lib/monodevelop/AddIns/BooBinding/locale/zh_TW/LC_MESSAGES/
cp '../build/locale/zh_TW/LC_MESSAGES/monodevelop-boo.mo'
'/home/paul/rpmbuild/BUILDROOT/monodevelop-boo-2.2-1.fc13.i386/usr/lib/monodevelop/AddIns/BooBinding/locale/zh_TW/LC_MESSAGES/monodevelop-boo.mo'
make[1]: Leaving directory
`/home/paul/rpmbuild/BUILD/monodevelop-boo-2.2/po'
make[1]: Entering directory
`/home/paul/rpmbuild/BUILD/monodevelop-boo-2.2'
make[1]: Leaving directory
`/home/paul/rpmbuild/BUILD/monodevelop-boo-2.2'
+ /usr/lib/rpm/find-lang.sh /home/paul/rpmbuild/BUILDROOT/monodevelop-boo-2.2-1.fc13.i386 monodevelop-boo
No translations found for monodevelop-boo
in /home/paul/rpmbuild/BUILDROOT/monodevelop-boo-2.2-1.fc13.i386

Am I going insane here (more than usual that is) or is find_lang
misbehaving? It works fine for monodevelop and mono itself.

TTFN

Paul

-- 
Sie können mich aufreizen und wirklich heiß machen!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20100103/e4364472/attachment.sig>


More information about the fedora-devel-list mailing list