The package rpms/rust-thread-scoped.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-thread-scoped.git/commit/?id=95....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 9568538de443f1b6cbb1f5771f7ba214981c9445 Author: Igor Gnatenko ignatenkobrain@fedoraproject.org Date: Fri Jul 27 00:28:50 2018 +0200
initial import
Signed-off-by: Igor Gnatenko ignatenkobrain@fedoraproject.org
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6496c4b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/thread-scoped-1.0.2.crate diff --git a/rust-thread-scoped.spec b/rust-thread-scoped.spec new file mode 100644 index 0000000..e78b8dc --- /dev/null +++ b/rust-thread-scoped.spec @@ -0,0 +1,56 @@ +# Generated by rust2rpm +%bcond_without check +%global debug_package %{nil} + +%global crate thread-scoped + +Name: rust-%{crate} +Version: 1.0.2 +Release: 1%{?dist} +Summary: Unsafe and deprecated std::thread::scoped + +# https://github.com/arcnmx/thread-scoped-rs/issues/8 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/thread-scoped +Source0: https://crates.io/api/v1/crates/%%7Bcrate%7D/%%7Bversion%7D/download#/%%7Bcr... + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%description +%{summary}. + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel +Unsafe and deprecated std::thread::scoped. + +This package contains library source intended for building other packages +which use %{crate} from crates.io. + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%files devel +%license COPYING +%doc README.md +%{cargo_registry}/%{crate}-%{version}/ + +%changelog +* Thu Jul 26 2018 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.2-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..e816f6a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (thread-scoped-1.0.2.crate) = bc478838e9192b81e66f45024a6f80db360fc32cb508a9d6b44f77e2964789f097635fba06d13cf4353f138d38494013bfae9b0b9f51045958587bb56ec71172
arch-excludes@lists.fedoraproject.org