From 95cccca3f584d322c0f3f9ec3625770e451e77414d1beffc0be424cf48e34609 Mon Sep 17 00:00:00 2001 From: Dominik Heidler Date: Thu, 20 Apr 2023 16:47:48 +0000 Subject: [PATCH] Fix build for 15.4 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=33 --- element-desktop.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/element-desktop.spec b/element-desktop.spec index 0e947d7..f2f9b2a 100644 --- a/element-desktop.spec +++ b/element-desktop.spec @@ -35,6 +35,9 @@ BuildRequires: moreutils BuildRequires: nodejs-electron-devel BuildRequires: yarn BuildRequires: fdupes +%if 0%{?suse_version} <= 1540 +BuildRequires: nodejs18 +%endif Requires: element-web = %{version} Requires: nodejs-electron