Re: Add extra generated RPM requires - how?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 18, 2009 at 03:54:53PM -0500, Adam Jackson wrote:
> 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.

I once created this for ghc/haskell packages, but I believe it was never
used. I got inspired by a pythondeps.sh script.
The "trick" here is to run the rpm default dependency script from within
the new script. My attempt is available here:

http://till.fedorapeople.org/ghcdeps.sh

Regards
Till

Attachment: pgpXvDhQZepLS.pgp
Description: PGP signature

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux