- Add back registry.tar.zst.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/deno?expand=0&rev=243
This commit is contained in:
Soc Virnyl Estela 2024-11-10 10:34:14 +00:00 committed by Git OBS Bridge
parent 3d727ef755
commit 346571de07
5 changed files with 8 additions and 6 deletions

View File

@ -16,7 +16,7 @@
<service name="cargo_vendor" mode="manual">
<param name="update">false</param>
<param name="respect-lockfile">true</param>
<param name="method">vendor</param>
<param name="method">registry</param>
<param name="src">deno</param>
</service>
<service mode="manual" name="set_version"/>

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Sun Nov 10 09:31:26 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
Sun Nov 10 10:33:10 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Add ./rusty_v8-0.106.0.tar.gz. This will be applied with a patch before compilation.
- Add back registry.tar.zst.
-------------------------------------------------------------------
Sun Nov 10 09:23:10 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>

View File

@ -28,7 +28,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
Source2: http://crates.io/api/v1/crates/v8/%{_v8_version}/download#/rusty_v8-%{_v8_version}.tar.gz
Patch1: compiler-rt-adjust-paths.patch
BuildRequires: cargo-packaging
@ -104,6 +104,7 @@ updated with the --reload flag.
echo -e "\n[patch.crates-io]\nv8 = { path = './v8-0.106.0' }" >> Cargo.toml
%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

3
registry.tar.zst Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b3e781dfabb28a2215bd71785dd9f176fcd1bf3a73c56850a770b5976ba45821
size 140215345

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b96815d1c39971faaf2f6dc93365e6e478d664e6acdfe662e4be1feca1c0cf6b
size 94588932