On Thu, Nov 10, 2016 at 04:48:59PM +0000, Richard W.M. Jones wrote: > On Thu, Nov 10, 2016 at 04:44:53PM +0000, Tom Hughes wrote: > > On 10/11/16 16:41, Richard W.M. Jones wrote: > > > > >I'm packaging up a program that puts plugins into > > > > > > %{_libdir}/pkg/plugin.so > > > > > >Unfortunately rpmbuild doesn't seem to generate automatic dependencies > > >for these files (they are regular ELF files and I have checked that > > >they contain DT_NEEDED fields). > > > > > >Any ideas on that? There's a lot of documentation about how to > > >exclude files from automatic dep generation, but I want to include > > >these. > > > > My guess would be that they're not marked as executable. Shared > > libraries don't really need to be executable but they always have > > been in Fedora and the dependency generator ignores ones which > > aren't. > > Very good catch! Indeed they were not executable. I'll see if > setting proper mode fixes things. Yes that's fixed it, thanks again. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx