From 1356661ce7121726ee89a60c86f7fb937b3243bcf62e070da8bbce7a8504ffb3 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Mon, 4 Nov 2024 11:37:30 +0000 Subject: [PATCH] - Experiment with vendoring cargo home registry. OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/deno?expand=0&rev=222 --- _service | 4 ++-- deno-2.0.4.tar.zst | 4 ++-- deno.changes | 5 +++++ deno.spec | 5 +++-- registry.tar.zst | 3 +++ vendor.tar.zst | 3 --- 6 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 registry.tar.zst delete mode 100644 vendor.tar.zst diff --git a/_service b/_service index 886a8e6..c647553 100644 --- a/_service +++ b/_service @@ -13,9 +13,9 @@ \1 enable - - deno + false + deno diff --git a/deno-2.0.4.tar.zst b/deno-2.0.4.tar.zst index 49fc1ed..2d188bd 100644 --- a/deno-2.0.4.tar.zst +++ b/deno-2.0.4.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:77709a43d8ef4339d865abfac0794f70e104d34a6ed157076a66971c8f99a6b6 -size 98816400 +oid sha256:cf2c468363b19df96af9813f4328cdd407c09ee7b2f2ebc9d3c5a07e7309dd2a +size 333996917 diff --git a/deno.changes b/deno.changes index 39f7b20..463d4ac 100644 --- a/deno.changes +++ b/deno.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Nov 3 08:22:47 UTC 2024 - Soc Virnyl Estela + +- Experiement with vendoring cargo home registry. + ------------------------------------------------------------------- Sat Nov 2 12:48:07 UTC 2024 - Soc Virnyl Estela diff --git a/deno.spec b/deno.spec index 74c244e..e25eb52 100644 --- a/deno.spec +++ b/deno.spec @@ -27,7 +27,7 @@ License: MIT Group: Productivity/Other URL: https://github.com/denoland/deno Source0: %{name}-%{version}.tar.zst -Source1: vendor.tar.zst +Source1: registry.tar.zst BuildRequires: cargo-packaging BuildRequires: clang # needed by `libz-ng-sys` after 1.36.1 @@ -103,9 +103,10 @@ updated with the --reload flag. unlink $PWD/rusty_v8 || true ln -sf %{_libdir}/crates/rusty_v8 $PWD/rusty_v8 echo -e "\n[patch.crates-io]\nv8 = { path = './rusty_v8' }" >> Cargo.toml -%{__cargo} update --offline +export CARGO_HOME=$PWD/.cargo %build +export CARGO_HOME=$PWD/.cargo # Ensure that the clang version matches. This command came from Archlinux. Thanks. export CLANG_VERSION=$(clang --version | grep -m1 version | sed 's/.* \([0-9]\+\).*/\1/') export V8_FROM_SOURCE=1 diff --git a/registry.tar.zst b/registry.tar.zst new file mode 100644 index 0000000..2be6dc7 --- /dev/null +++ b/registry.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6589197fb1387d898fdafe72fc2af2469cd85fd3b0a5e93fda337950f64d29a3 +size 140515832 diff --git a/vendor.tar.zst b/vendor.tar.zst deleted file mode 100644 index 271c557..0000000 --- a/vendor.tar.zst +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a620e9b6fe2a758aaf6ea76e5be6581682a7e583fb12f32725176c6286e2da16 -size 94700377