-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(rpm): replace perl dependency by perl-interpreter #2066
fix(rpm): replace perl dependency by perl-interpreter #2066
Conversation
Thank you for this improvement! Short summary:
Longer version: Before merging, I needed to know more about the history of the 'perl-interpreter' package name to better understand the risk of this change: older redhat (and derived) systems will produce uninstallable packages if their system does not know the In terms of age, A flag might be a good way to enable your feature by default while still letting folks use the old behavior. I'm open to suggestion on a flag name, maybe To find out the history, I checked Fedora because that was the first place I could find a Red Hat perl package source. The first mention I find of Best I can tell, the first Fedora release containing this change is Fedora 27 (changelog entry) which was released November of 2017. I don't know what RHEL 8 uses as a source for its package, but after some digging, I found documentation for RHEL 8 in a Docker container. RHEL 8.0 (released in 2019) appears to have I was unable to find a way to get RHEL7 or CentOS 7 operating under my time constraints tonight. I am assuming RHEL 7 users would be negatively impacted by this change. RHEL 7, now 10 years old, only reached EOL a few months ago, with extended support offered for another 4 years. |
Thank you for the detailed answer ! Indeed, this is not a good change if it impacts older OS versions.
Otherwise, it could be a flag |
Just chiming in since I (along with @wbraswell) have interest in the Perl side of FPM. This PR looks good to me. I agree that it makes sense to use the |
I only use Debian-based operating systems, so assuming all the stuff about RedHat and CentOS is accurate, then yes I approve of this Perl-related pull request. |
I thought about this for a bit, tonight, but decided against this method ( To that end, I will add a @NicholasBHubbard @wbraswell thank you for the feedback :) |
…which do not have 'perl-interpreter' dependency available. (#2066)
Add flag to allow using older 'perl' rpm dependency name for systems which do not have 'perl-interpreter' dependency available. (#2066)
perl
rpm package is a metapackages which install all the Perl bits and core modulesThen,
perl-devel
,gcc
and lot of useless dependencies are installedThis should be replaced by
perl-interpreter
perl dependencies