Description of problem: running "yum install vim" on a just installed Fedora 21 pulls in 30 perl packages Version-Release number of selected component (if applicable): vim-enhanced 2:7.4.475-2.fc21 How reproducible: always, just installl Steps to Reproduce: 1. yum install vimn Actual results: 30 perl packages gets pulled in Expected results: no perl packages (except perhaps the one that holds libperl) are pulled in
I can't fix this in vim. It needs perl-libs, but that is the package that has all the dependencies on other perl packages: # rpm -qa perl* # # yum install perl-libs ..... Install 1 Package (+29 Dependent packages) I'll change component to perl for comments from the perl maintainers but I'm afraid you'll have to use vim-minimal to avoid these dependencies.
It'd be helpful if you posted the list of these dependencies. My guess is these are dual-life perl core modules, i.e. modules sub-packaged from perl or updates to them from separate packages. These are integral parts of the perl distribution and often depend on each other. We've been sub-packaging more and more of them in the past months so that could be why the list of dependencies appears to be quite long now. Although it's the same content that was shipped with the single `perl' package in the past. What's interesting, however, is if and why libperl.so needs the whole perl distribution. I would guess the library should work on its own, hmm. Perhaps the MODULE_COMPAT dependency could be dropped...
The reason why vim-enhanced pulls in other Perl packages besides perl-libs is that perl-libs requires perl(:MODULE_COMPAT_*) which is provided by `perl' package. Correct fix is to move the perl(:MODULE_COMPAT_*) RPM symbol from perl to perl-libs package as the perl-libs defines the perl ABI. However I'm not keen to do it in stable Fedora release because could break some incorrectly packaged Perl code. (Remember there about 2600 Perl packages.)
Petr, can you start doing that in rawhide now so we can asses if it causes issues, and if so starting fixing them there ?