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

Fixes #22939: accelerate rpm build when perl modules are already present #2770

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions rudder-agent/SPECS/rudder-agent.spec
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,9 @@ opt="${opt} --disable-pam"
%if "%{with_perl}" == "true"
opt="${opt} --with-perl"
%else
cpan -f -T -i Module::CoreList < /dev/null || true
cpan -f -T -i YAML::Tiny < /dev/null
cpan -f -T -i Module::Install < /dev/null
perl -MModule::CoreList -e '' || cpan -f -T -i Module::CoreList < /dev/null || true
perl -MYAML::Tiny -e '' || cpan -f -T -i YAML::Tiny < /dev/null
perl -MModule::Install -e '' || cpan -f -T -i Module::Install < /dev/null
%endif

# libattr libtool file is looked for in /lib64 but put in /usr/lib64 on RHEL3
Expand Down