Have rust available during build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=65
This commit is contained in:
Dominik Heidler 2024-02-14 11:24:25 +00:00 committed by Git OBS Bridge
parent 9750ad672d
commit f78706926f

View File

@ -31,6 +31,8 @@ Patch0: fix-webpack-oom.patch
BuildRequires: fdupes
BuildRequires: nodejs-packaging
BuildRequires: yarn
BuildRequires: rust
BuildRequires: cargo
BuildArch: noarch
%description
@ -51,7 +53,9 @@ ls -l ./npm-packages-offline-cache | head
#sed -i -e 's| matrix-analytics-events "github:matrix-org/matrix-analytics-events.git#[^"]*"| matrix-analytics-events "^0.0.1"|' yarn.lock
#sed -i -e 's|"matrix-analytics-events@github:matrix-org/matrix-analytics-events#[^"]*"|matrix-analytics-events@^0.0.1|' yarn.lock
SENTRYCLI_SKIP_DOWNLOAD=1 yarn install --offline --pure-lockfile
export SENTRYCLI_SKIP_DOWNLOAD=1
yarn install --offline --pure-lockfile
mkdir -p webapp
cp %{SOURCE2} ./webapp/jitsi_external_api.min.js