From 9292805640ae7e7dbb6742f26c55dfcf355a67fa Mon Sep 17 00:00:00 2001 From: Tom spot Callaway Date: Fri, 17 Sep 2021 10:40:24 -0400 Subject: [PATCH] fix the rest of the node conditionals --- chromium.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chromium.spec b/chromium.spec index afdb13a0..4c3d565d 100644 --- a/chromium.spec +++ b/chromium.spec @@ -422,7 +422,7 @@ Source16: https://github.com/web-platform-tests/wpt/raw/master/fonts/Ahem.ttf Source17: GardinerModBug.ttf Source18: GardinerModCat.ttf # RHEL 7|8 needs newer nodejs -%if 0%{?rhel} <= 8 +%if 0%{?rhel} && 0%{?rhel} <= 8 Source19: https://nodejs.org/dist/latest-v12.x/node-v12.22.6-linux-x64.tar.xz Source21: https://nodejs.org/dist/latest-v12.x/node-v12.22.6-linux-arm64.tar.xz %endif @@ -479,7 +479,7 @@ BuildRequires: minizip-compat-devel %endif %endif # RHEL 7|8's nodejs is too old -%if 0%{?rhel} <= 8 +%if 0%{?rhel} && 0%{?rhel} <= 8 # Use bundled. %else BuildRequires: nodejs