-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07/02/2013 09:02 AM, Michael Schwendt wrote:
On Mon, 01 Jul 2013 23:28:00 +0200, Antonio Trande wrote:
Then let's not hack the paths, but find out why %find_lang doesn't
find the files. If %name is not part of the filenames, normally
you would need to add option --all-name, but there's a bug in RPM
which I've reopened:
https://bugzilla.redhat.com/729336
Thank you, Michael.
Meanwhile, I use this code to replace %find-lang macro:
find %{buildroot} -type f -o -type l|sort|sed '
s:'"%{buildroot}"'::
s:\(.*/locale/\)\([^/_]\+\)\(.*\.qm$\):%lang(\2) \1\2\3:
s:^\([^%].*\)::
/^$/d' > %{name}.lang
- --
- ----
Antonio Trande
mailto: sagitter(a)fedoraproject.org
Homepage:
http://www.fedoraos.worpress.com
GPG Key: D400D6C4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -
http://www.enigmail.net/
iQIcBAEBAgAGBQJR1CgUAAoJED2vIvfUANbEwPoP/0dvDImpsdmSZzSESJg37NiQ
iCApASOn4x8d8+42d11JjoiIL0IcuDQwE4d00TzjfHfLTvc3HehQMuT4Z/GxF3Wn
o4hOMmP4Y388uUaRC8UvRkL+C8g/x3X0i4C45pFDUljyZWnN3WUZoqKRSt0ztvd9
UfEcFoxSPfbsIOjW5lZmWC2Qme/AlRoOArTrVJBfa0NH5zag0IZSKmSOVBdq3PRk
6/xmZhPSADE95uwu/X7tVsduq0YZXZYoFOnKs9Uxs0oGTUOM/PgBXCjOqyjEDVnT
TPiQrmiFKijv3CbUuRP0C20UWLZ7xPRsMHlCzm49TwS86ZYpCIklyhRylrAImtmW
wjWCvTUYpKBSIwg9Kb5VXJnfVxkMFbS7b5PPXmXgxxsexOCIlzz+tgn1DLK1qrIb
KF9cLN3UjViYhpY3xRSnGCs9s9Ybh7BLKByBHiK4q6VB6x0fDB1d+HtJIU1Lu7c5
InToSY22lG3WvW3dE22Jjhzo2pE0O6DTDdsL5YnFB6NASfhQOhCPuafR4OOJUOi4
53izQYOv4jGTLtW1Prg+ojhWa5xMECY0ETaqTilNkySrzf5X1ETxRuHWeVixkN/Z
HyCaoD2IyV2V2f0GiO4nhzEHXr8sxuPkff+hcWhL1eJrRPqrXp0eJbkn+Elh1w21
hGbzCs0tmwtlxdkFoBDn
=nGdm
-----END PGP SIGNATURE-----