The package rpms/rust-actix-threadpool.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-actix-threadpool.git/commit/?id....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 3ab2db8bc59da2c5f998cd4c8e4c3ad4c8df765b Author: Igor Gnatenko ignatenkobrain@fedoraproject.org Date: Thu May 30 23:41:56 2019 +0200
Initial import
Signed-off-by: Igor Gnatenko ignatenkobrain@fedoraproject.org
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..83b00c9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/actix-threadpool-0.1.0.crate diff --git a/actix-threadpool-fix-metadata.diff b/actix-threadpool-fix-metadata.diff new file mode 100644 index 0000000..fde8c44 --- /dev/null +++ b/actix-threadpool-fix-metadata.diff @@ -0,0 +1,11 @@ +--- actix-threadpool-0.1.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ actix-threadpool-0.1.0/Cargo.toml 2019-05-30T18:28:04.888851+00:00 +@@ -43,7 +43,7 @@ + version = "1.10" + + [dependencies.parking_lot] +-version = "0.7" ++version = "0.8" + + [dependencies.threadpool] + version = "1.7" diff --git a/rust-actix-threadpool.spec b/rust-actix-threadpool.spec new file mode 100644 index 0000000..2714459 --- /dev/null +++ b/rust-actix-threadpool.spec @@ -0,0 +1,79 @@ +# Generated by rust2rpm 9 +%bcond_with check +%global debug_package %{nil} + +%global crate actix-threadpool + +Name: rust-%{crate} +Version: 0.1.0 +Release: 1%{?dist} +Summary: Actix thread pool for sync code + +# Upstream license specification: MIT/Apache-2.0 +# https://github.com/actix/actix-net/issues/25 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/actix-threadpool +Source: %{crates_source} +# Initial patched metadata +# * Update parking_lot to 0.8, https://github.com/actix/actix-net/pull/26 +Patch0: actix-threadpool-fix-metadata.diff + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging +BuildRequires: (crate(derive_more/default) >= 0.14.0 with crate(derive_more/default) < 0.15.0) +BuildRequires: (crate(futures/default) >= 0.1.25 with crate(futures/default) < 0.2.0) +BuildRequires: (crate(lazy_static/default) >= 1.2.0 with crate(lazy_static/default) < 2.0.0) +BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0) +BuildRequires: (crate(num_cpus/default) >= 1.10.0 with crate(num_cpus/default) < 2.0.0) +BuildRequires: (crate(parking_lot/default) >= 0.8.0 with crate(parking_lot/default) < 0.9.0) +BuildRequires: (crate(threadpool/default) >= 1.7.0 with crate(threadpool/default) < 2.0.0) + +%global _description %{expand: +Actix thread pool for sync code.} + +%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 CHANGES.md +%{cargo_registry}/%{crate}-%{version}/ + +%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}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Thu May 30 20:28:04 CEST 2019 Igor Gnatenko ignatenkobrain@fedoraproject.org - 0.1.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..dd7a837 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (actix-threadpool-0.1.0.crate) = 3513ce6675d37a3460fd16417044c6bf221766136cf49504692fdfb0d3f9aad1444fcda8951ca56b44f539c224d560d3d204de41d954b1836e0b7958183c8cc8 diff --git a/tests/.fmf/version b/tests/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/tests/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/tests/provision.fmf b/tests/provision.fmf new file mode 100644 index 0000000..503a97c --- /dev/null +++ b/tests/provision.fmf @@ -0,0 +1,5 @@ +--- +standard-inventory-qcow2: + qemu: + # `cargo test` usually eats more than 1G. + m: 4G diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..a0e0ce4 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,13 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + repositories: + - repo: "https://src.fedoraproject.org/tests/rust.git" + dest: rust + tests: + - rust/cargo-test + environment: + pkg: rust-actix-threadpool
arch-excludes@lists.fedoraproject.org