Add extra generated RPM requires - how?
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.
fedora-devel-list mailing list