Ticket #139 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

[PATCH] Extract dependencies from some usual syntaxes of "use base qw(Foo)"

Reported by: scop Assigned to: RpmTickets
Priority: minor Milestone:
Component: rpm Version: RPM Development
Keywords: Cc:

Description

I've run this on my F-12 setup for installed perl* packages (138 currently) and it did not produce any false positives, and does catch a bunch of missing dependencies.

Not all forms of "use base ..." allowed by perl are supported (implementation/regexps would be quite hairy) but this does the job for the most usual ones.

Attachments

0005-Extract-dependencies-from-some-usual-syntaxes-of-use.patch (1.7 kB) - added by scop on 02/13/10 10:22:36.

Change History

02/13/10 10:22:36 changed by scop

  • attachment 0005-Extract-dependencies-from-some-usual-syntaxes-of-use.patch added.

(in reply to: ↑ description ) 02/13/10 10:23:55 changed by scop

Replying to scop:

I've run this on my F-12 setup for installed perl* packages (138 currently) and it did not produce any false positives, and does catch a bunch of missing dependencies.

Forgot to note that it also didn't lose/break any dependencies that were detected before this change.

02/15/10 07:06:50 changed by pmatilai

  • status changed from new to closed.
  • resolution set to fixed.

Applied, thanks!