diff --git a/WasmEngine.spec b/WasmEngine.spec index 1447bbb1d91c0940630bad8f2d32e447cb838708..ffbedde6de4a32e85dd24f771e2fbf45e0872e6f 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