From 9f28eaaab3c8d9f964d48034eabe747add01cc06 Mon Sep 17 00:00:00 2001 From: liweigang Date: Tue, 21 Oct 2025 18:07:33 +0800 Subject: [PATCH] modify buildrequires --- WasmEngine.spec | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/WasmEngine.spec b/WasmEngine.spec index 1447bbb..ffbedde 100644 --- a/WasmEngine.spec +++ b/WasmEngine.spec @@ -2,7 +2,7 @@ Name: WasmEngine Version: v0.2.0 -Release: 2 +Release: 3 Summary: WasmEngine is a webassembly function engine, which provides high concurrency and sandbox security. License: MulanPSL-2.0 @@ -15,8 +15,13 @@ Source4: gen-version.sh Source5: series.conf Source6: patch.tar.gz -BuildRequires: rust,cargo,rust-packaging,git -BuildRequires: gcc,dtc,openssl-devel +BuildRequires: rust +BuildRequires: cargo +BuildRequires: cargo-rpm-macros +BuildRequires: git +BuildRequires: gcc +BuildRequires: dtc +BuildRequires: openssl-devel %description Based on Rust programming language, WasmEngine is a webassembly function engine, which provides high concurrency and sandbox security. @@ -35,20 +40,8 @@ cp %{SOURCE6} . sh ./apply-patches rm -f build.rs -mkdir -p .cargo -touch .cargo/config -cat > .cargo/config << EOF -[source.crates-io] -replace-with = "vendored-sources" - -[source.vendored-sources] -directory = "vendor" - -[profile.release] -strip = true -EOF - -CARGO_HOME=.cargo cargo build --release +%cargo_prep +%cargo_build echo "build wasm success" @@ -63,6 +56,12 @@ rm -rf %{buildroot} %attr(550,root,root) %{_bindir}/wasm_engine %changelog +* Tue Oct 21 2025 liweigang - v0.2.0-3 +- Type: spec +- CVE: NA +- SUG: NA +- DESC: modify buildrequires + * Tue Mar 05 2024 flyflyflypeng - v0.2.0-2 - Type: bugfix - CVE: NA -- Gitee