Skip to content
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

Add flag to allow using older 'perl' rpm dependency name for systems which do not have 'perl-interpreter' dependency available. (#2066) #2085

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

jordansissel
Copy link
Owner

No description provided.

…which do not have 'perl-interpreter' dependency available. (#2066)
@jordansissel
Copy link
Owner Author

Testing manually -

# Default, "new" dependency on perl-interpreter
% bundle exec bin/fpm --force --no-cpan-test -s cpan -t rpm Regexp::Common
Force flag given. Overwriting package at perl-Regexp-Common-2024080801-1.noarch.rpm {:level=>:warn}
Created package {:path=>"perl-Regexp-Common-2024080801-1.noarch.rpm"}
% rpm -qp perl-Regexp-Common-2024080801-1.noarch.rpm --requires | grep '^perl.*
'
perl-interpreter >= 5.010

# Flag, "old" dependency
% bundle exec bin/fpm --force --no-cpan-test -s cpan -t rpm --rpm-old-perl-dependency-name Regexp::Common
Force flag given. Overwriting package at perl-Regexp-Common-2024080801-1.noarch.rpm {:level=>:warn}
Created package {:path=>"perl-Regexp-Common-2024080801-1.noarch.rpm"}

% rpm -qp perl-Regexp-Common-2024080801-1.noarch.rpm --requires | grep '^perl.* '
perl >= 5.010

@jordansissel jordansissel merged commit 28fea4c into main Dec 9, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant