The package rpms/rust-actix-server-config.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-server-config.git/comm....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit f64b0ea2e8267c51f54d6a1fb5564e6553767581
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..0992209
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/actix-server-config-0.1.1.crate
diff --git a/actix-server-config-fix-metadata.diff
b/actix-server-config-fix-metadata.diff
new file mode 100644
index 0000000..f64188a
--- /dev/null
+++ b/actix-server-config-fix-metadata.diff
@@ -0,0 +1,28 @@
+--- actix-server-config-0.1.1/Cargo.toml 1970-01-01T00:00:00+00:00
++++ actix-server-config-0.1.1/Cargo.toml 2019-05-31T07:25:48.109506+00:00
+@@ -28,10 +28,6 @@
+ [dependencies.futures]
+ version = "0.1.25"
+
+-[dependencies.rustls]
+-version = "0.15.2"
+-optional = true
+-
+ [dependencies.tokio-io]
+ version = "0.1.12"
+
+@@ -39,14 +35,9 @@
+ version = "0.3.0"
+ optional = true
+
+-[dependencies.tokio-rustls]
+-version = "0.9.1"
+-optional = true
+-
+ [dependencies.tokio-tcp]
+ version = "0.1"
+
+ [features]
+ default = []
+-rust-tls = ["rustls", "tokio-rustls"]
+ ssl = ["tokio-openssl"]
diff --git a/rust-actix-server-config.spec b/rust-actix-server-config.spec
new file mode 100644
index 0000000..3ac0121
--- /dev/null
+++ b/rust-actix-server-config.spec
@@ -0,0 +1,99 @@
+# Generated by rust2rpm 9
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate actix-server-config
+
+Name: rust-%{crate}
+Version: 0.1.1
+Release: 1%{?dist}
+Summary: Actix server config utils
+
+# 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-server-config
+Source: %{crates_source}
+# Initial patched metadata
+# * No rustls
+Patch0: actix-server-config-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+BuildRequires: (crate(futures/default) >= 0.1.25 with crate(futures/default) <
0.2.0)
+BuildRequires: (crate(tokio-io/default) >= 0.1.12 with crate(tokio-io/default) <
0.2.0)
+BuildRequires: (crate(tokio-tcp/default) >= 0.1.0 with crate(tokio-tcp/default) <
0.2.0)
+
+%global _description %{expand:
+Actix server config utils.}
+
+%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}+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
+
+%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:25:48 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.1.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..343830b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (actix-server-config-0.1.1.crate) =
fdebce2eb4266edb7b66f3c62b2f5295c7a6075d1bf02862885a4942b05fef38ca6270de4a4ea56f5db1345036cd98800e585dff54c00c2179db982165d9b0a9
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..66503c6
--- /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-server-config