On Fri, Jan 29, 2010 at 12:07:35AM +0200, Panu Matilainen wrote:
> On Tue, 26 Jan 2010, Till Maas wrote:
>
> > On Tue, Jan 26, 2010 at 12:13:33PM +0200, Panu Matilainen wrote:
> >
> >> %global _use_internal_dependency_generator 0
> >>
> >> The external dependency generator doesn't create the file "coloring" that
> >> the multilib magic needs to operate. So you'll get conflicts on all paths
> >> where content differs.
> >
> > How can one both get the file "coloring" and add own dependencies with a
> > script to an rpm? Iirc the internal dependency generator needs to be
> > disabled to be able to specify a special script to add dependencies.
>
> The sorry state of things right now is that there's no generic way that
> works in every situation with the internal dependency generator, but for
> some cases its possible:
>
> 1) All the require/provide helper scripts the internal dep generator uses
> can be overridden and customized, such as the __perl_provides/requires
> scripts.
> The first step is probably to move all the actual dependency generation
> work out of librpmbuild into helpers that can be overridden and
> customized, so that 1) becomes a general (even if cumbersome) solution.
Is it maybe easily possible to just add another dummy helper script,
that by default does not create any Requires/Provides, but is called for
every RPM, e.g. __extra_provides/requires. Then this could be
overwritten without disturbing the other dependency generation steps.
Regards
Till
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
01-28-2010, 09:27 PM
Jakub Jelinek
Multilib help?
On Thu, Jan 28, 2010 at 11:21:02PM +0100, Till Maas wrote:
> Is it maybe easily possible to just add another dummy helper script,
> that by default does not create any Requires/Provides, but is called for
> every RPM, e.g. __extra_provides/requires. Then this could be
> overwritten without disturbing the other dependency generation steps.
That wouldn't be sufficiently flexible. What you want is let the "internal
dependency generator" (either as something in librpmbuild or a separate
helper program) produce text output, let it filter through some optional
script and parse/use the result.
Then you can filter out some unwanted dependencies, or add them, or
modify...
Jakub
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel