The package rpms/rust-dbus-tokio.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-dbus-tokio.git/commit/?id=92c34....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 92c34b37458c2c9c24474bc9272c3e2f1b8c2352 Author: John Baublitz jbaublitz@redhat.com Date: Wed Apr 21 09:13:25 2021 -0400
Initial import (#1948149)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..692b3c0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/dbus-tokio-0.7.3.crate diff --git a/rust-dbus-tokio.spec b/rust-dbus-tokio.spec new file mode 100644 index 0000000..1a0b585 --- /dev/null +++ b/rust-dbus-tokio.spec @@ -0,0 +1,84 @@ +# Generated by rust2rpm 13 +%bcond_without check +%global debug_package %{nil} + +%global crate dbus-tokio + +Name: rust-%{crate} +Version: 0.7.3 +Release: 1%{?dist} +Summary: Makes it possible to use Tokio with D-Bus + +# Upstream license specification: Apache-2.0/MIT +License: ASL 2.0 or MIT +URL: https://crates.io/crates/dbus-tokio +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging +BuildRequires: dbus-daemon + +%global _description %{expand: +Makes it possible to use Tokio with D-Bus, which is a bus commonly used on +Linux for inter-process communication.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%doc README.md +%license LICENSE-APACHE LICENSE-MIT +%{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 "default" feature of "%{crate}" crate. + +%files -n %{name}+default-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 +%if ! 0%{?__cargo_skip_build} + %{shrink: + dbus-run-session -- %{__cargo} test + %{__cargo_common_opts} + --release + --no-fail-fast + } +%endif +%endif + +%changelog +* Thu Apr 08 13:02:51 EDT 2021 John Baublitz jbaublitz@redhat.com - 0.7.3-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..4f0ef2d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (dbus-tokio-0.7.3.crate) = f6902c026c117fbf70632f4dd388ea771eeb01826279a6904cb3db0299b49d1514dd93fa6d29b7c51c78c90b7abad0eba67af11772706b1c87ef5ee2aa55bf85