Re: Overriding automatic dependancies

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

 



On Thu, Feb 12, 2004 at 08:43:47AM -0500, Matt Pounsett wrote:

> On Thu, 12 Feb 2004, Nicolas Mailhot wrote:
> > 
> > Evil kludge is more like it. You can use this instead :
> > 
> > %define _use_internal_dependency_generator 0
> 
> How does that disable a single dependancy?

It does not.  For that, you can do something like this:

  %define _use_internal_dependency_generator 0
  %define __find_provides %SOURCE2
  %define __find_requires %SOURCE3

Where the referred sources are scripts that could be something like:

  #!/bin/sh
  /usr/lib/rpm/redhat/find-provides | ... some nice filtering ...

resp.

  #!/bin/sh
  /usr/lib/rpm/redhat/find-requires | ... some nice filtering ...

Use it with care ;-), but it's really powerful.  I mainly use it as
a workaround for weird things with third-party binary software that
I "rpm'ify".

Cheers,

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux