The package rpms/wasmedge.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/wasmedge.git/commit/?id=09983dbc9....
Change:
+ExclusiveArch: x86_64 aarch64
Thanks.
Full change:
============
commit 9a3c3698d8f689408350288f067c7f3ca0aa2c72
Author: dm4 <dm4(a)secondstate.io>
Date: Wed Aug 31 05:35:19 2022 +0000
Release 0.11.0
diff --git a/.gitignore b/.gitignore
index 2eb0ea4..d206a80 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/WasmEdge-0.10.1-src.tar.gz
+/WasmEdge-0.11.0-src.tar.gz
diff --git a/sources b/sources
index 0037a78..f08df07 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
SHA512 (WasmEdge-0.10.1-src.tar.gz) =
56375a1198e9dd20a66e4baffd2932afbd125e652bb761bf2c4de31be7edfbdc50a6aad5f6cc9b83dc5838841e60d51e7420310d366d6fb860a0c32c97ecc3d3
+SHA512 (WasmEdge-0.11.0-src.tar.gz) =
4baadceca1f522123e1e8e1cb48657e4f39ccda6cc50731c8774bea833947bc6503b787c271498e604555ca261e01b933f27e257d7b0c94c258e371cc0171e66
diff --git a/wasmedge.spec b/wasmedge.spec
index 308b342..c6c1dd1 100644
--- a/wasmedge.spec
+++ b/wasmedge.spec
@@ -1,15 +1,16 @@
-%global gittag 0.10.1
-%global srpm_version 0.10.1
+%global version 0.11.0
%global reponame WasmEdge
+%global capi_soname 0
+%global capi_version 0.0.0
Name: wasmedge
-Version: %{srpm_version}
+Version: %{version}
Release: %autorelease
Summary: High performance WebAssembly Virtual Machine
# The entire source code is ASL 2.0 except LICENSE.spdx which is CC0
License: ASL 2.0 and CC0
URL:
https://github.com/%{reponame}/%{reponame}
-Source0: %{url}/releases/download/%{gittag}/%{reponame}-%{gittag}-src.tar.gz
+Source0: %{url}/releases/download/%{version}/%{reponame}-%{version}-src.tar.gz
BuildRequires: boost-devel
BuildRequires: cmake
BuildRequires: gcc-c++
@@ -18,7 +19,9 @@ BuildRequires: lld-devel
BuildRequires: llvm-devel
BuildRequires: ninja-build
BuildRequires: spdlog-devel
+Requires: lld
Requires: llvm
+Requires: spdlog
# Currently wasmedge could only be built on specific arches
ExclusiveArch: x86_64 aarch64
Provides: %{reponame} = %{version}-%{release}
@@ -38,7 +41,7 @@ This package contains necessary header files for %{reponame}
development.
%prep
%autosetup -n %{name}
-[ -f VERSION ] || echo -n %{gittag} > VERSION
+[ -f VERSION ] || echo -n %{version} > VERSION
%build
%cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=OFF
-DWASMEDGE_BUILD_TESTS=OFF
@@ -46,32 +49,29 @@ This package contains necessary header files for %{reponame}
development.
%install
%cmake_install
-mv %{buildroot}%{_libdir}/lib%{name}_c.so
%{buildroot}%{_libdir}/lib%{name}_c.so.%{gittag}
-mv %{buildroot}%{_libdir}/%{name}/lib%{name}Plugin%{reponame}Process.so
%{buildroot}%{_libdir}/%{name}/lib%{name}Plugin%{reponame}Process.so.%{gittag}
-ln -s lib%{name}_c.so.%{gittag} %{buildroot}%{_libdir}/lib%{name}_c.so
-ln -s lib%{name}Plugin%{reponame}Process.so.%{gittag}
%{buildroot}%{_libdir}/%{name}/lib%{name}Plugin%{reponame}Process.so
+mv %{buildroot}%{_libdir}/%{name}/lib%{name}Plugin%{reponame}Process.so
%{buildroot}%{_libdir}/%{name}/lib%{name}Plugin%{reponame}Process.so.%{version}
+ln -s lib%{name}Plugin%{reponame}Process.so.%{version}
%{buildroot}%{_libdir}/%{name}/lib%{name}Plugin%{reponame}Process.so
%files
%license LICENSE LICENSE.spdx
%doc Changelog.md README.md SECURITY.md
%{_bindir}/wasmedge
%{_bindir}/wasmedgec
-%{_libdir}/lib%{name}_c.so.%{gittag}
+%{_libdir}/lib%{name}.so.%{capi_version}
+%{_libdir}/lib%{name}.so.%{capi_soname}
%dir %{_libdir}/%{name}
-%{_libdir}/%{name}/lib%{name}Plugin%{reponame}Process.so.%{gittag}
+%{_libdir}/%{name}/lib%{name}Plugin%{reponame}Process.so.%{version}
%files devel
%dir %{_includedir}/%{name}
-%{_includedir}/%{name}/dense_enum_map.h
%{_includedir}/%{name}/enum.inc
%{_includedir}/%{name}/enum_configure.h
%{_includedir}/%{name}/enum_errcode.h
%{_includedir}/%{name}/enum_types.h
%{_includedir}/%{name}/int128.h
-%{_includedir}/%{name}/spare_enum_map.h
%{_includedir}/%{name}/version.h
%{_includedir}/%{name}/wasmedge.h
-%{_libdir}/lib%{name}_c.so
+%{_libdir}/lib%{name}.so
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/lib%{name}Plugin%{reponame}Process.so
commit 09983dbc9ca8f16fc6e7b15f655a97b7f64ce888
Author: dm4 <dm4(a)secondstate.io>
Date: Mon Aug 1 15:49:01 2022 +0000
Initial import (fedora#2035222).
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..2eb0ea4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/WasmEdge-0.10.1-src.tar.gz
diff --git a/sources b/sources
new file mode 100644
index 0000000..0037a78
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (WasmEdge-0.10.1-src.tar.gz) =
56375a1198e9dd20a66e4baffd2932afbd125e652bb761bf2c4de31be7edfbdc50a6aad5f6cc9b83dc5838841e60d51e7420310d366d6fb860a0c32c97ecc3d3
diff --git a/wasmedge.spec b/wasmedge.spec
new file mode 100644
index 0000000..308b342
--- /dev/null
+++ b/wasmedge.spec
@@ -0,0 +1,79 @@
+%global gittag 0.10.1
+%global srpm_version 0.10.1
+%global reponame WasmEdge
+
+Name: wasmedge
+Version: %{srpm_version}
+Release: %autorelease
+Summary: High performance WebAssembly Virtual Machine
+# The entire source code is ASL 2.0 except LICENSE.spdx which is CC0
+License: ASL 2.0 and CC0
+URL:
https://github.com/%{reponame}/%{reponame}
+Source0: %{url}/releases/download/%{gittag}/%{reponame}-%{gittag}-src.tar.gz
+BuildRequires: boost-devel
+BuildRequires: cmake
+BuildRequires: gcc-c++
+BuildRequires: git
+BuildRequires: lld-devel
+BuildRequires: llvm-devel
+BuildRequires: ninja-build
+BuildRequires: spdlog-devel
+Requires: llvm
+# Currently wasmedge could only be built on specific arches
+ExclusiveArch: x86_64 aarch64
+Provides: %{reponame} = %{version}-%{release}
+Provides: bundled(blake3) = 1.2.0
+Provides: bundled(wasi-cpp-header) = 0.0.1
+
+%description
+High performance WebAssembly Virtual Machine
+
+%package devel
+Summary: %{reponame} development files
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Provides: %{reponame}-devel = %{version}-%{release}
+
+%description devel
+This package contains necessary header files for %{reponame} development.
+
+%prep
+%autosetup -n %{name}
+[ -f VERSION ] || echo -n %{gittag} > VERSION
+
+%build
+%cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=OFF
-DWASMEDGE_BUILD_TESTS=OFF
+%cmake_build
+
+%install
+%cmake_install
+mv %{buildroot}%{_libdir}/lib%{name}_c.so
%{buildroot}%{_libdir}/lib%{name}_c.so.%{gittag}
+mv %{buildroot}%{_libdir}/%{name}/lib%{name}Plugin%{reponame}Process.so
%{buildroot}%{_libdir}/%{name}/lib%{name}Plugin%{reponame}Process.so.%{gittag}
+ln -s lib%{name}_c.so.%{gittag} %{buildroot}%{_libdir}/lib%{name}_c.so
+ln -s lib%{name}Plugin%{reponame}Process.so.%{gittag}
%{buildroot}%{_libdir}/%{name}/lib%{name}Plugin%{reponame}Process.so
+
+%files
+%license LICENSE LICENSE.spdx
+%doc Changelog.md README.md SECURITY.md
+%{_bindir}/wasmedge
+%{_bindir}/wasmedgec
+%{_libdir}/lib%{name}_c.so.%{gittag}
+%dir %{_libdir}/%{name}
+%{_libdir}/%{name}/lib%{name}Plugin%{reponame}Process.so.%{gittag}
+
+%files devel
+%dir %{_includedir}/%{name}
+%{_includedir}/%{name}/dense_enum_map.h
+%{_includedir}/%{name}/enum.inc
+%{_includedir}/%{name}/enum_configure.h
+%{_includedir}/%{name}/enum_errcode.h
+%{_includedir}/%{name}/enum_types.h
+%{_includedir}/%{name}/int128.h
+%{_includedir}/%{name}/spare_enum_map.h
+%{_includedir}/%{name}/version.h
+%{_includedir}/%{name}/wasmedge.h
+%{_libdir}/lib%{name}_c.so
+%dir %{_libdir}/%{name}
+%{_libdir}/%{name}/lib%{name}Plugin%{reponame}Process.so
+
+%changelog
+%autochangelog