The package rpms/rust-actix-connect.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-connect.git/commit/?id....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 30714b14ae37ba1ff78a2e730ef027397b0149fd
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sat Jun 1 08:17:57 2019 +0200
Initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..61b4b6c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/actix-connect-0.2.0.crate
diff --git a/rust-actix-connect.spec b/rust-actix-connect.spec
new file mode 100644
index 0000000..b134aaa
--- /dev/null
+++ b/rust-actix-connect.spec
@@ -0,0 +1,146 @@
+# Generated by rust2rpm 9
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate actix-connect
+
+Name: rust-%{crate}
+Version: 0.2.0
+Release: 1%{?dist}
+Summary: Actix Connector - tcp connector service
+
+# 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-connect
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+BuildRequires: (crate(actix-codec/default) >= 0.1.2 with crate(actix-codec/default)
< 0.2.0)
+BuildRequires: (crate(actix-service/default) >= 0.4.0 with
crate(actix-service/default) < 0.5.0)
+BuildRequires: (crate(actix-utils/default) >= 0.4.0 with crate(actix-utils/default)
< 0.5.0)
+BuildRequires: (crate(derive_more/default) >= 0.14.0 with crate(derive_more/default)
< 0.15.0)
+BuildRequires: (crate(either/default) >= 1.5.2 with crate(either/default) <
2.0.0)
+BuildRequires: (crate(futures/default) >= 0.1.25 with crate(futures/default) <
0.2.0)
+BuildRequires: (crate(http/default) >= 0.1.17 with crate(http/default) < 0.2.0)
+BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0)
+BuildRequires: (crate(tokio-current-thread/default) >= 0.1.5 with
crate(tokio-current-thread/default) < 0.2.0)
+BuildRequires: (crate(tokio-tcp/default) >= 0.1.3 with crate(tokio-tcp/default) <
0.2.0)
+BuildRequires: (crate(trust-dns-resolver) >= 0.11.0 with crate(trust-dns-resolver)
< 0.12.0)
+%if %{with check}
+BuildRequires: (crate(actix-server-config/default) >= 0.1.0 with
crate(actix-server-config/default) < 0.2.0)
+BuildRequires: (crate(actix-test-server/default) >= 0.2.2 with
crate(actix-test-server/default) < 0.3.0)
+BuildRequires: (crate(actix-test-server/ssl) >= 0.2.2 with
crate(actix-test-server/ssl) < 0.3.0)
+BuildRequires: (crate(bytes/default) >= 0.4.0 with crate(bytes/default) < 0.5.0)
+%endif
+
+%global _description %{expand:
+Actix Connector - tcp connector service.}
+
+%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
+
+%package -n %{name}+http-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+http-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "http" feature of "%{crate}" crate.
+
+%files -n %{name}+http-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+openssl-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+openssl-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "openssl" feature of "%{crate}" crate.
+
+%files -n %{name}+openssl-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+ssl-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+ssl-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "ssl" feature of "%{crate}" crate.
+
+%files -n %{name}+ssl-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+tokio-openssl-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+tokio-openssl-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "tokio-openssl" feature of "%{crate}" crate.
+
+%files -n %{name}+tokio-openssl-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+uri-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+uri-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "uri" feature of "%{crate}" crate.
+
+%files -n %{name}+uri-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
+* Fri May 31 09:22:11 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.2.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..b7c4f5d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (actix-connect-0.2.0.crate) =
506c2644e2b111f08243ef4d4eee2bdfd30d0e713f3ae1a6d2e382a1b0e2e3af41ae9828a642174995267afa1a91e3cfe6ccd9d182b893803a92ff730879b0b7
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..3c3b6c6
--- /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-connect