Add extra generated RPM requires - how?

Adam Jackson ajax at redhat.com
Fri Dec 18 20:54:53 UTC 2009


On Fri, 2009-12-18 at 20:26 +0000, Richard W.M. Jones wrote:
> For libguestfs [RHBZ#547496] I want to add some extra 'Requires'
> dependencies by running a shell script over a particular file that
> gets generated during the build.
> 
> What's the best way, or a way, to do this?

It's... not easy.  You want to overload the %__find_provides macro to
invoke your script as well as the standard script for things like
library sonames.  If you get it working let me know, I want basically
the same thing for the X server and have so far been defeated.

- ajax
-------------- 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/20091218/f7992b6a/attachment.sig>


More information about the fedora-devel-list mailing list