mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-31 09:14:07 -05:00
Spec file: use nodejs22 on fedora 41+
Do not use the newest nodesjs24 as it does not provide the /usr/bin/node command, only /usr/bin/node-24. Force the use of nodejs22. Fixes: https://pagure.io/freeipa/issue/9836 Signed-off-by: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
1 parent
d8017371d3
commit
52024ed7f3
1 file changed
+2
-1
+2
-1
@@ -327,8 +327,9 @@ BuildRequires: libsss_idmap-devel
|
||||
BuildRequires: libsss_certmap-devel
|
||||
BuildRequires: libsss_nss_idmap-devel >= %{sssd_version}
|
||||
%if 0%{?fedora} >= 41 || 0%{?rhel} >= 10
|
||||
# on fedora 41+, stick to nodejs22
|
||||
# Do not use nodejs22 on fedora < 41, https://pagure.io/freeipa/issue/9643
|
||||
BuildRequires: nodejs(abi)
|
||||
BuildRequires: nodejs(abi) == 127
|
||||
%elif 0%{?fedora} >= 39
|
||||
# Do not use nodejs20 on fedora < 39, https://pagure.io/freeipa/issue/9374
|
||||
BuildRequires: nodejs(abi) < 127
|
||||
|
||||
Reference in new issue
Block a user