Please remove the check of appearance of versioned 'perl(MODULE_COMPAT_XXX)'.
It is not needed now, because of Fedora proposal https://fedoraproject.org/wiki/Changes/Perl_replace_MODULE_COMPAT_by_generator
The check is not needed for any Fedora and EPEL releases.
Update of packaging guidelines is prepared, but it was not push yet.
The guidelines were updated.
I've created possible fix for it:
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.