The package rpms/rust-actix-http.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-http.git/commit/?id=fc....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit fcba6cdb761feafe7f4d2c0eba1226d530067759
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..fe7030b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/actix-http-0.2.2.crate
diff --git a/rust-actix-http.spec b/rust-actix-http.spec
new file mode 100644
index 0000000..3469d3f
--- /dev/null
+++ b/rust-actix-http.spec
@@ -0,0 +1,252 @@
+# Generated by rust2rpm 9
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate actix-http
+
+Name: rust-%{crate}
+Version: 0.2.2
+Release: 1%{?dist}
+Summary: Actix http primitives
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/actix-http
+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-connect/default) >= 0.2.0 with
crate(actix-connect/default) < 0.3.0)
+BuildRequires: (crate(actix-server-config/default) >= 0.1.1 with
crate(actix-server-config/default) < 0.2.0)
+BuildRequires: (crate(actix-service/default) >= 0.4.0 with
crate(actix-service/default) < 0.5.0)
+BuildRequires: (crate(actix-threadpool/default) >= 0.1.0 with
crate(actix-threadpool/default) < 0.2.0)
+BuildRequires: (crate(actix-utils/default) >= 0.4.1 with crate(actix-utils/default)
< 0.5.0)
+BuildRequires: (crate(base64/default) >= 0.10.0 with crate(base64/default) <
0.11.0)
+BuildRequires: (crate(bitflags/default) >= 1.0.0 with crate(bitflags/default) <
2.0.0)
+BuildRequires: (crate(byteorder/default) >= 1.2.0 with crate(byteorder/default) <
2.0.0)
+BuildRequires: (crate(bytes/default) >= 0.4.0 with crate(bytes/default) < 0.5.0)
+BuildRequires: (crate(chrono/default) >= 0.4.6 with crate(chrono/default) <
0.5.0)
+BuildRequires: (crate(copyless/default) >= 0.1.2 with crate(copyless/default) <
0.2.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(encoding/default) >= 0.2.0 with crate(encoding/default) <
0.3.0)
+BuildRequires: (crate(futures/default) >= 0.1.25 with crate(futures/default) <
0.2.0)
+BuildRequires: (crate(h2/default) >= 0.1.16 with crate(h2/default) < 0.2.0)
+BuildRequires: (crate(hashbrown/default) >= 0.3.0 with crate(hashbrown/default) <
0.4.0)
+BuildRequires: (crate(http/default) >= 0.1.17 with crate(http/default) < 0.2.0)
+BuildRequires: (crate(httparse/default) >= 1.3.0 with crate(httparse/default) <
2.0.0)
+BuildRequires: (crate(indexmap/default) >= 1.0.0 with crate(indexmap/default) <
2.0.0)
+BuildRequires: (crate(language-tags/default) >= 0.2.0 with
crate(language-tags/default) < 0.3.0)
+BuildRequires: (crate(lazy_static/default) >= 1.0.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(mime/default) >= 0.3.0 with crate(mime/default) < 0.4.0)
+BuildRequires: (crate(percent-encoding/default) >= 1.0.0 with
crate(percent-encoding/default) < 2.0.0)
+BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0)
+BuildRequires: (crate(regex/default) >= 1.0.0 with crate(regex/default) < 2.0.0)
+BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
+BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default)
< 2.0.0)
+BuildRequires: (crate(serde_urlencoded/default) >= 0.5.5 with
crate(serde_urlencoded/default) < 0.6.0)
+BuildRequires: (crate(sha1/default) >= 0.6.0 with crate(sha1/default) < 0.7.0)
+BuildRequires: (crate(slab/default) >= 0.4.0 with crate(slab/default) < 0.5.0)
+BuildRequires: (crate(time/default) >= 0.1.42 with crate(time/default) < 0.2.0)
+BuildRequires: (crate(tokio-current-thread/default) >= 0.1.0 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(tokio-timer/default) >= 0.2.8 with crate(tokio-timer/default)
< 0.3.0)
+BuildRequires: (crate(trust-dns-resolver) >= 0.11.1 with crate(trust-dns-resolver)
< 0.12.0)
+%if %{with check}
+BuildRequires: (crate(actix-connect/default) >= 0.2.0 with
crate(actix-connect/default) < 0.3.0)
+BuildRequires: (crate(actix-connect/ssl) >= 0.2.0 with crate(actix-connect/ssl) <
0.3.0)
+BuildRequires: (crate(actix-http-test/default) >= 0.2.0 with
crate(actix-http-test/default) < 0.3.0)
+BuildRequires: (crate(actix-http-test/ssl) >= 0.2.0 with crate(actix-http-test/ssl)
< 0.3.0)
+BuildRequires: (crate(actix-rt/default) >= 0.2.2 with crate(actix-rt/default) <
0.3.0)
+BuildRequires: (crate(actix-server/default) >= 0.5.0 with crate(actix-server/default)
< 0.6.0)
+BuildRequires: (crate(actix-server/ssl) >= 0.5.0 with crate(actix-server/ssl) <
0.6.0)
+BuildRequires: (crate(env_logger/default) >= 0.6.0 with crate(env_logger/default)
< 0.7.0)
+BuildRequires: (crate(openssl/default) >= 0.10.0 with crate(openssl/default) <
0.11.0)
+BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default)
< 2.0.0)
+BuildRequires: (crate(tokio-tcp/default) >= 0.1.0 with crate(tokio-tcp/default) <
0.2.0)
+%endif
+
+%global _description %{expand:
+Actix http primitives.}
+
+%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
+%license LICENSE-MIT LICENSE-APACHE
+%doc README.md 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}+brotli-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+brotli-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "brotli" feature of "%{crate}" crate.
+
+%files -n %{name}+brotli-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+brotli2-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+brotli2-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "brotli2" feature of "%{crate}" crate.
+
+%files -n %{name}+brotli2-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+fail-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+fail-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "fail" feature of "%{crate}" crate.
+
+%files -n %{name}+fail-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+failure-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+failure-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "failure" feature of "%{crate}" crate.
+
+%files -n %{name}+failure-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+flate2-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+flate2-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "flate2" feature of "%{crate}" crate.
+
+%files -n %{name}+flate2-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+flate2-rust-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+flate2-rust-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "flate2-rust" feature of "%{crate}" crate.
+
+%files -n %{name}+flate2-rust-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+flate2-zlib-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+flate2-zlib-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "flate2-zlib" feature of "%{crate}" crate.
+
+%files -n %{name}+flate2-zlib-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}+ring-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+ring-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "ring" feature of "%{crate}" crate.
+
+%files -n %{name}+ring-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+secure-cookies-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+secure-cookies-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "secure-cookies" feature of "%{crate}" crate.
+
+%files -n %{name}+secure-cookies-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
+
+%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 19:12:46 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.2.2-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..5ac22c5
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (actix-http-0.2.2.crate) =
69b8ed9d25502dfdfa88d07247dc2f6f8a5c36776f561a8b2a32f52ee2ed1bb7e633f29a577d892056b21ce858e3b78e4d988a33020b7be52124b79dee49766b
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..81e55fc
--- /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-http