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 #22716: Invalid spec file for AIX and missing SLES dependency #2725

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
8 changes: 7 additions & 1 deletion rudder-agent/SPECS/rudder-agent.spec
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@ BuildRequires: perl-CPAN
%endif

%if "%{with_perl}" == "false"
%if 0%{?fedora} || 0%{?rhel} >= 9
%if 0%{?fedora}
Requires: perl-interpreter perl-lib perl-English perl-Memoize perl-Sys-Hostname perl-File-Find
%endif
%if 0%{?rhel} >= 9
Requires: perl-interpreter perl-lib perl-English perl-Memoize perl-Sys-Hostname perl-File-Find
%endif
%if 0%{?rhel} == 8
Expand All @@ -152,6 +155,9 @@ Requires: perl-interpreter perl-Memoize
%if 0%{?rhel} < 8
Requires: perl
%endif
%if 0%{?suse_version}
Requires: perl
%endif
%endif

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Expand Down