[Rpm-maint] speeding up internal deps generator

Thierry Vignaud thierry.vignaud at gmail.com
Wed Sep 17 12:45:03 UTC 2014


On 17 September 2014 13:38, Panu Matilainen <pmatilai at laiskiainen.org> wrote:
>> In that case the script needs to "annotate" the output in some way.
>> It has to transport the information, which files generated the dependency.
>> Otherwise things like 'rpm -q --filerequire' would no longer work.
>
> While the per-file dependency tracking is kinda neat and makes sense in
> several cases, there are also numerous cases where it does NOT make sense:
> for example perl/python modules usually consist of several files which
> together form the module, and thinking of individual files as providing
> something is not meaningful at all.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=678605 is an example of similar
> problems on requires-side.

OK I don't have to report this one to you :-)

> Clearly the current 1:1 file<->dependency relation model does not entirely
> match up with reality, so there's room for improvement. Perhaps we could
> indeed add a per fileattr (or even per fileattr-dependency level) flag which
> makes dependencies generated on package, not file level.

Yes  that would be very helpful and could be the generic case.


More information about the Rpm-maint mailing list