From 712b7bd76b0a248e29cc50bcc4daa71134baa3868d98718f44bedf69b6d9418c Mon Sep 17 00:00:00 2001 From: Dominik Heidler Date: Wed, 13 Apr 2022 11:07:11 +0000 Subject: [PATCH] Remove old source OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=4 --- element-desktop-1.10.4.tar.gz | 3 --- element-web-1.10.4.tar.gz | 3 --- prepare.sh | 4 ++++ 3 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 element-desktop-1.10.4.tar.gz delete mode 100644 element-web-1.10.4.tar.gz diff --git a/element-desktop-1.10.4.tar.gz b/element-desktop-1.10.4.tar.gz deleted file mode 100644 index f43fb43..0000000 --- a/element-desktop-1.10.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b3e4e9cb39ef9fdcdb3b83b842853e2ed52944b3caf68dfc5cd5642ac985eeaa -size 1939488 diff --git a/element-web-1.10.4.tar.gz b/element-web-1.10.4.tar.gz deleted file mode 100644 index 1bc4e2d..0000000 --- a/element-web-1.10.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:21036274ff3a2036d07415b193e57dde60b79abda9f2dc8d5594a879c0c5f488 -size 1410632 diff --git a/prepare.sh b/prepare.sh index a105cf2..da9396c 100644 --- a/prepare.sh +++ b/prepare.sh @@ -8,8 +8,12 @@ tmpdir="$(mktemp -d)" #zypper install yarn cargo gcc-c++ sqlcipher-devel libsecret-devel version=$(grep "Version:" element-desktop.spec | awk '{print $2}') +osc rm element-web-*.tar.gz +osc rm element-desktop-*.tar.gz wget -c https://github.com/vector-im/element-desktop/archive/v${version}.tar.gz -O element-desktop-${version}.tar.gz wget -c https://github.com/vector-im/element-web/archive/v${version}.tar.gz -O element-web-${version}.tar.gz +osc add element-web-*.tar.gz +osc add element-desktop-*.tar.gz cp element-desktop.spec "$tmpdir/" cd "$tmpdir"