summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--patch-c-api-cargo.diff2
-rw-r--r--wasmtime.spec7
2 files changed, 6 insertions, 3 deletions
diff --git a/patch-c-api-cargo.diff b/patch-c-api-cargo.diff
index f7b22f3..282e6f3 100644
--- a/patch-c-api-cargo.diff
+++ b/patch-c-api-cargo.diff
@@ -9,7 +9,7 @@ diff --color -Naur wasmtime-0.28.0/crates/c-api/Cargo.toml wasmtime-0.28.0/crate
authors = ["The Wasmtime Project Developers"]
description = "C API to expose the Wasmtime runtime"
license = "Apache-2.0 WITH LLVM-exception"
-@@ -38,3 +38,6 @@
+@@ -38,3 +38,8 @@
jitdump = ["wasmtime/jitdump"]
cache = ["wasmtime/cache"]
wasi = ['wasi-common', 'wasi-cap-std-sync', 'wasmtime-wasi', 'cap-std']
diff --git a/wasmtime.spec b/wasmtime.spec
index c5d7158..b0f040a 100644
--- a/wasmtime.spec
+++ b/wasmtime.spec
@@ -8,7 +8,7 @@
Name: wasmtime
Version: 0.28.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Standalone JIT-style runtime for WebAssembly, using Cranelift
License: ASL 2.0 with exceptions
@@ -100,7 +100,7 @@ rm -v %{buildroot}%{_libdir}/libwasmtime.a
# Remove source
rm -rf %{buildroot}%{cargo_registry}/wasmtime-cli-%{version}
# Man page
-install -d .%{_mandir}/man1
+install -d %{buildroot}%{_mandir}/man1
help2man --no-info %{buildroot}%{_bindir}/wasmtime > wasmtime.man
install -p -m 644 -D wasmtime.man %{buildroot}%{_mandir}/man1/wasmtime.1
@@ -128,6 +128,9 @@ install -p -m 644 -D wasmtime.man %{buildroot}%{_mandir}/man1/wasmtime.1
%{_libdir}/pkgconfig/wasmtime.pc
%changelog
+* Sat Jul 03 2021 Olivier Lemasle <o.lemasle@gmail.com> - 0.28.0-3
+- Fix build
+
* Sat Jul 03 2021 Olivier Lemasle <o.lemasle@gmail.com> - 0.28.0-2
- Use latest cargo-c (0.9.0)