On 02/21/2011 02:47 PM, Iain Arnell wrote: > On Mon, Feb 21, 2011 at 11:28 AM, Ralf Corsepius<rc040203@xxxxxxxxxx> wrote: > [snip] >> >> In case of the perl(Gtk2::*), rpm now collects "use base ..." requires, >> but misses to collect and provide the XS-symbols they are implicitly >> provided through. >> >> I.e. in a perfect world, rpm's deptracking needs to be extended to >> collect XS-symbols, >> >> A quick hack applicable to the perl-Gtk2-* packages would be to run >> some "nm -sD --undefined ..." based script to generate a list of these >> Provides: >> >> Rough uncooked example: >> >> nm -sD --defined /usr/lib64/perl5/auto/Gtk2/Gtk2.so \ >> | grep -E 'XS_Gtk2.*_new$' \ >> | sed -e 's,^.*XS_Gtk2,perl(Gtk2,;s,__,::,g;s,_new,),' > > grep /and/ sed? Please note, I said "uncooked" - It wasn't meant to be more than just a "demo of concept". On a second thought - May-be it would be more suitable for perl to parse the *.pods, such XS-modules normally are accompanied with? I am not sure. Ralf -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel