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:
parent
9750ad672d
commit
f78706926f
@ -31,6 +31,8 @@ Patch0: fix-webpack-oom.patch
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: nodejs-packaging
|
BuildRequires: nodejs-packaging
|
||||||
BuildRequires: yarn
|
BuildRequires: yarn
|
||||||
|
BuildRequires: rust
|
||||||
|
BuildRequires: cargo
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%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.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
|
#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
|
mkdir -p webapp
|
||||||
cp %{SOURCE2} ./webapp/jitsi_external_api.min.js
|
cp %{SOURCE2} ./webapp/jitsi_external_api.min.js
|
||||||
|
Loading…
Reference in New Issue
Block a user