#2898 Change: Perl: Replace versioned MODULE_COMPAT_ requires by RPM dependency generator
Closed: Accepted a year ago by churchyard. Opened a year ago by bcotton.

A perl(:MODULE_COMPAT_%(eval "%{__perl} -V:version"; echo $version)) run-time dependency will be replaced with a new %perl_require_compat macro in all Perl spec files.

The macro will expand differently based on architecture specificity of the binary packages. That will significantly shrink an amount of Perl packages required to be rebuilt with each Perl upgrade.

Owners, do not implement this work until the FESCo vote has explicitly ended.
The Fedora Program Manager will create a tracking bug in Bugzilla for this Change, which is your indication to proceed.
See the FESCo ticket policy and the Changes policy for more information.


This is an improvement, but I strongly believe we should go toward generated dependencies instead of replacing one spec cruft with another.

The vote at one week is (+0, 0, -0) so voting will extend for another week.

I'm currently 0 with the same reservations as @churchyard

Is there some reason that the logic in %perl_require_compat can't be implemented as an autorequires script?

MODULE_COMPAT is not used only by perl modules. Some of the multi-arch packages which use it for backward compatibility does not include anything into %perl_vendor*/%perl_privlib/%perl_archlib.
The script suggested by @churchyard in devel list does not work for all cases like the proposed solution, which I have tested.

I've followed up on the conversation on the devel list.

The vote is still (+0, 0, -0) but I spoke with @jplesnik and she seems to be in favor of using a dependency generator.

Jitka, shall we move the change proposal back to in progress state?

The vote is still (+0, 0, -0) but I spoke with @jplesnik and she seems to be in favor of using a dependency generator.

Jitka, shall we move the change proposal back to in progress state?

Yes, it can be move. I will update the change asap.

Re-announced. Will close this ticket for now and re-open when the week has passed.

Metadata Update from @bcotton:
- Issue close_status updated to: Insufficient data
- Issue status updated to: Closed (was: Open)

a year ago

Reopening for updated proposal.

A perl(:MODULE_COMPAT_%(eval "%{__perl} -V:version"; echo $version)) run-time dependency will be removed from all Perl spec files. The replacement will be generated by dependency generator which will be placed in perl-generators.

The result of generator will be based on content of the binary packages. That will significantly shrink an amount of Perl packages required to be rebuilt with each Perl upgrade.

Change proposal
devel-announce post
devel list discussion
* Owners: @jplesnik

Metadata Update from @bcotton:
- Issue status updated to: Open (was: Closed)

a year ago

Metadata Update from @churchyard:
- Issue tagged with: pending announcement

a year ago

Metadata Update from @churchyard:
- Issue close_status updated to: Accepted
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata