The package rpms/rust-wasmtime-jit-debug.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/rust-wasmtime-jit-debug.git/commit/?....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit bee4904ecd34bd0cf7698ad1897c9496bed00e8d Author: Fabio Valentini decathorpe@gmail.com Date: Fri Apr 15 11:58:22 2022 +0200
Initial import (#2075207)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..309a0e1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/wasmtime-jit-debug-0.35.3.crate +/LICENSE diff --git a/README.md b/README.md deleted file mode 100644 index 1a4bbc5..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-wasmtime-jit-debug - -The rust-wasmtime-jit-debug package diff --git a/rust-wasmtime-jit-debug.spec b/rust-wasmtime-jit-debug.spec new file mode 100644 index 0000000..ee57c07 --- /dev/null +++ b/rust-wasmtime-jit-debug.spec @@ -0,0 +1,134 @@ +# Generated by rust2rpm 21 +%bcond_without check +%global debug_package %{nil} + +%global crate wasmtime-jit-debug + +Name: rust-%{crate} +Version: 0.35.3 +Release: %autorelease +Summary: JIT debug interfaces support for Wasmtime + +# Upstream license specification: Apache-2.0 WITH LLVM-exception +License: ASL 2.0 +URL: https://crates.io/crates/wasmtime-jit-debug +Source0: %{crates_source} +# https://github.com/bytecodealliance/wasmtime/issues/4023 +Source1: https://github.com/bytecodealliance/wasmtime/raw/main/LICENSE + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +JIT debug interfaces support for Wasmtime.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+gdb_jit_int-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+gdb_jit_int-devel %{_description} + +This package contains library source intended for building other packages which +use the "gdb_jit_int" feature of the "%{crate}" crate. + +%files -n %{name}+gdb_jit_int-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+lazy_static-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+lazy_static-devel %{_description} + +This package contains library source intended for building other packages which +use the "lazy_static" feature of the "%{crate}" crate. + +%files -n %{name}+lazy_static-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+object-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+object-devel %{_description} + +This package contains library source intended for building other packages which +use the "object" feature of the "%{crate}" crate. + +%files -n %{name}+object-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+perf_jitdump-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+perf_jitdump-devel %{_description} + +This package contains library source intended for building other packages which +use the "perf_jitdump" feature of the "%{crate}" crate. + +%files -n %{name}+perf_jitdump-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rustix-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rustix-devel %{_description} + +This package contains library source intended for building other packages which +use the "rustix" feature of the "%{crate}" crate. + +%files -n %{name}+rustix-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +cp -pav %{SOURCE1} . +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..bd3f81d --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (wasmtime-jit-debug-0.35.3.crate) = 4a856f6d9c4329611dedd74955e2365d5dd9438b5a51264c139774352e6d28f14fd9949d1b3b95237ab9d30ea833a9b3687ce71d2fc80d03d4cfdb2a16a01b3a +SHA512 (LICENSE) = 5a99e6840b3a974dabc91e22f224e931c7a614a2c0d22522af502a9672b2b387c082db7bd8a8f5add6e2c531198f69487dfba5b729c5157c7afa3014f241d829