The package rpms/rust-tokio-compat.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-tokio-compat.git/commit/?id=8bc....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 8bce33193a3e45d9785a30ce840249c80ecfc23e Author: Davide Cavalca dcavalca@fedoraproject.org Date: Sun Jul 10 14:35:31 2022 -0700
Initial import; Fixes: RHBZ#1981140
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dfa92fc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/tokio-compat-0.1.6.crate diff --git a/rust-tokio-compat.spec b/rust-tokio-compat.spec new file mode 100644 index 0000000..96e6f95 --- /dev/null +++ b/rust-tokio-compat.spec @@ -0,0 +1,180 @@ +# Generated by rust2rpm 21 +%bcond_without check +%global debug_package %{nil} + +%global crate tokio-compat + +Name: rust-%{crate} +Version: 0.1.6 +Release: %autorelease +Summary: Compatibility between tokio 0.2 and legacy versions + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/tokio-compat +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Compatibility between tokio 0.2 and legacy versions.} + +%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 %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%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}+blocking-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+blocking-devel %{_description} + +This package contains library source intended for building other packages which +use the "blocking" feature of the "%{crate}" crate. + +%files -n %{name}+blocking-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+pin-project-lite-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+pin-project-lite-devel %{_description} + +This package contains library source intended for building other packages which +use the "pin-project-lite" feature of the "%{crate}" crate. + +%files -n %{name}+pin-project-lite-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rt-current-thread-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rt-current-thread-devel %{_description} + +This package contains library source intended for building other packages which +use the "rt-current-thread" feature of the "%{crate}" crate. + +%files -n %{name}+rt-current-thread-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rt-full-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rt-full-devel %{_description} + +This package contains library source intended for building other packages which +use the "rt-full" feature of the "%{crate}" crate. + +%files -n %{name}+rt-full-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+sink-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+sink-devel %{_description} + +This package contains library source intended for building other packages which +use the "sink" feature of the "%{crate}" crate. + +%files -n %{name}+sink-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tokio-current-thread-01-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-current-thread-01-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio-current-thread-01" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-current-thread-01-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tokio-executor-01-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-executor-01-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio-executor-01" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-executor-01-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tokio-reactor-01-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-reactor-01-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio-reactor-01" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-reactor-01-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tokio-timer-02-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-timer-02-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio-timer-02" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-timer-02-devel +%ghost %{crate_instdir}/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..609b4c9 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (tokio-compat-0.1.6.crate) = 6caa71aaa75be7ba7a41a3a73d2d82d6498abcce0a962f16be4ee3fb0beeb195cd5432ef4ba680a226582a04e3d832826a7f52830c7839811a6a4915abad70ad
arch-excludes@lists.fedoraproject.org