7
0
forked from pool/rusty_v8
2022-06-21 19:34:33 +00:00
committed by Git OBS Bridge
parent 4d4080689f
commit 9a1b7d81d2
6 changed files with 25 additions and 10 deletions

View File

@@ -17,7 +17,7 @@
Name: rusty_v8
Version: 0.44.1
Version: 0.44.2
Release: 0
Summary: Build tooling for Deno (do not install or use!)
License: MIT
@@ -32,8 +32,7 @@ BuildRequires: lld
BuildRequires: llvm
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: python
BuildRequires: python3-setuptools
BuildRequires: python3-base
BuildRequires: rust-packaging
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gmodule-2.0)
@@ -54,6 +53,13 @@ Chromium, etc.
%{cargo_prep}
%build
# workaround to use python3
# where "python" is invoked
mkdir -p "$(pwd)/bin"
ln -sf %{_bindir}/python3 "$(pwd)/bin/python"
export PATH="$PATH:$(pwd)/bin"
#https://github.com/denoland/rusty_v8/#build-v8-from-source
export V8_FROM_SOURCE=1
export CLANG_BASE_PATH=%{_prefix}