From 43a6e389d3defdd54070723a1f0f7e96ac45b3d6f353397bdd41db6cd6ff9b45 Mon Sep 17 00:00:00 2001 From: Dominik Heidler Date: Wed, 13 Apr 2022 10:18:00 +0000 Subject: [PATCH] Be agnostic of matrix-analytics-events git hash OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=4 --- element-web.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/element-web.spec b/element-web.spec index 647fd24..8b09732 100644 --- a/element-web.spec +++ b/element-web.spec @@ -47,8 +47,8 @@ cd ./npm-packages-offline-cache cp matrix-analytics-events-0.0.1.tgz @matrix-analytics-events-0.0.1.tgz cd .. ls ./npm-packages-offline-cache | grep matrix-analytics-events -sed -i -e 's| matrix-analytics-events "github:matrix-org/matrix-analytics-events.git#dfa6feaa12bcfc8e99b05a148e12fff7f9d62f08"| matrix-analytics-events "^0.0.1"|' yarn.lock -sed -i -e 's|"matrix-analytics-events@github:matrix-org/matrix-analytics-events#dfa6feaa12bcfc8e99b05a148e12fff7f9d62f08"|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 yarn install --offline --pure-lockfile