The package rpms/rust-ringbuf.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-ringbuf.git/commit/?id=61301519....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 61301519ef72934c718c0d71e5cd5c13c03fb773 Author: Rémi Lauzier remilauzier@protonmail.com Date: Mon Jan 31 17:13:26 2022 -0500
Initial import; Fixes RHBZ#1980623
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..aa6cfc3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/ringbuf-0.2.6.crate diff --git a/rust-ringbuf.spec b/rust-ringbuf.spec new file mode 100644 index 0000000..f8ebc8f --- /dev/null +++ b/rust-ringbuf.spec @@ -0,0 +1,95 @@ +# Generated by rust2rpm 20 +%bcond_without check +%global debug_package %{nil} + +%global crate ringbuf + +Name: rust-%{crate} +Version: 0.2.6 +Release: %autorelease +Summary: Lock-free SPSC FIFO ring buffer with direct access to inner data + +# Upstream license specification: MIT/Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/ringbuf +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%global _description %{expand: +Lock-free SPSC FIFO ring buffer with direct access to inner data.} + +%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-APACHE LICENSE-MIT +%doc README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+benchmark-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+benchmark-devel %{_description} + +This package contains library source intended for building other packages which +use the "benchmark" feature of the "%{crate}" crate. + +%files -n %{name}+benchmark-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%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..6b2d24e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (ringbuf-0.2.6.crate) = e8a038342226f13c88137a91c27f14323b02dbafb8991c369c0332024a421edbb797db665e31ff9b35f40147fd1d71235a059930b574195add9a6613312472d6
arch-excludes@lists.fedoraproject.org