FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 12-18-2009, 07:26 PM
"Richard W.M. Jones"
 
Default Add extra generated RPM requires - how?

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?

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 12-18-2009, 07:54 PM
Adam Jackson
 
Default 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.

- ajax
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 02:59 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org