This commit is contained in:
parent
4c83f35618
commit
7d7cd31a10
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 10 01:29:34 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
||||
|
||||
- Revert passing --locked flag.
|
||||
- Revert regenerating lockfile.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 10 01:22:25 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
||||
|
||||
|
@ -27,7 +27,7 @@ License: MIT
|
||||
Group: Productivity/Other
|
||||
URL: https://github.com/denoland/deno
|
||||
Source0: %{name}-%{version}.tar.zst
|
||||
Source1: registry.tar.zst
|
||||
Source1: vendor.tar.zst
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: clang
|
||||
# needed by `libz-ng-sys` after 1.36.1
|
||||
@ -103,7 +103,6 @@ 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
|
||||
export CARGO_HOME=$PWD/.cargo
|
||||
%__cargo generate-lockfile --offline
|
||||
|
||||
%build
|
||||
export CARGO_HOME=$PWD/.cargo
|
||||
@ -117,7 +116,7 @@ export CFLAGS="%{optflags} -Wno-unknown-warning-option"
|
||||
export CXXFLAGS="%{optflags} -Wno-unknown-warning-option"
|
||||
# https://www.chromium.org/developers/gn-build-configuration
|
||||
export GN_ARGS="clang_version=${CLANG_VERSION} use_lld=true enable_nacl = false blink_symbol_level = 0 v8_symbol_level = 0"
|
||||
%{cargo_build} --locked
|
||||
%{cargo_build}
|
||||
|
||||
%install
|
||||
# place deno cli manually (cannot cargo install)
|
||||
|
Loading…
Reference in New Issue
Block a user