Skip to content

Commit d14e3f7

Browse files
author
Julian Brown
committed
ZC-12759: Build EA4 on AL10
[no ci]
1 parent ef8aa03 commit d14e3f7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

SPECS/ea-apache24.spec

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
%endif
2222

2323
%if 0%{?rhel} >= 10
24+
# https://docs.fedoraproject.org/en-US/packaging-guidelines/#_brp_buildroot_policy_scripts
2425
%global __brp_check_rpaths %{nil}
2526
%endif
2627

@@ -172,7 +173,14 @@ Provides: ea-apache24-mmn = %{oldmmnisa}
172173
Requires: ea-apache24-tools = %{version}-%{release}
173174
Requires: ea-apache24-mod_proxy_http
174175
Requires: ea-apache24-mod_proxy
176+
177+
178+
%if 0%{?rhel} == 10
179+
# ea-cpanel-tools needs cpanel perl which is not yet available on Almalinux 10
180+
%else
175181
Requires: ea-cpanel-tools
182+
%endif
183+
176184
%if 0%{?rhel} < 8
177185
Requires: elinks
178186
%endif
@@ -1272,7 +1280,12 @@ BuildRequires: openssl, openssl-devel
12721280
Requires(post): openssl
12731281
%endif
12741282

1283+
%if 0%{?rhel} >= 10
1284+
Requires(post): /usr/bin/cat
1285+
%else
12751286
Requires(post): /bin/cat
1287+
%endif
1288+
12761289
Requires(pre): ea-apache24
12771290
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
12781291
Obsoletes: stronghold-mod_ssl, mod_ssl

0 commit comments

Comments
 (0)