From 360549d72bf55c0a0db2248f1f3f1c9c5cc075f8 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Nov 11 2018 12:51:37 +0000 Subject: Update to 0.12.14 Signed-off-by: Igor Gnatenko --- diff --git a/.gitignore b/.gitignore index 2ee6db3..b2bcf8f 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /hyper-0.12.10.crate /hyper-0.12.11.crate /hyper-0.12.12.crate +/hyper-0.12.14.crate diff --git a/rust-hyper.spec b/rust-hyper.spec index b8f6ba7..7f0af09 100644 --- a/rust-hyper.spec +++ b/rust-hyper.spec @@ -5,7 +5,7 @@ %global crate hyper Name: rust-%{crate} -Version: 0.12.12 +Version: 0.12.14 Release: 1%{?dist} Summary: Fast and correct HTTP library @@ -16,51 +16,199 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging -# [dependencies] -BuildRequires: (crate(bytes) >= 0.4.4 with crate(bytes) < 0.5.0) -BuildRequires: (crate(futures) >= 0.1.21 with crate(futures) < 0.2.0) -BuildRequires: (crate(futures-cpupool) >= 0.1.6 with crate(futures-cpupool) < 0.2.0) -BuildRequires: (crate(h2) >= 0.1.10 with crate(h2) < 0.2.0) -BuildRequires: (crate(http) >= 0.1.13 with crate(http) < 0.2.0) -BuildRequires: (crate(httparse) >= 1.0.0 with crate(httparse) < 2.0.0) -BuildRequires: (crate(iovec) >= 0.1.0 with crate(iovec) < 0.2.0) -BuildRequires: (crate(itoa) >= 0.4.1 with crate(itoa) < 0.5.0) -BuildRequires: (crate(log) >= 0.4.0 with crate(log) < 0.5.0) -BuildRequires: (crate(net2) >= 0.2.32 with crate(net2) < 0.3.0) -BuildRequires: (crate(time) >= 0.1.0 with crate(time) < 0.2.0) -BuildRequires: (crate(tokio) >= 0.1.7 with crate(tokio) < 0.2.0) -BuildRequires: (crate(tokio-executor) >= 0.1.0 with crate(tokio-executor) < 0.2.0) -BuildRequires: (crate(tokio-io) >= 0.1.0 with crate(tokio-io) < 0.2.0) -BuildRequires: (crate(tokio-reactor) >= 0.1.0 with crate(tokio-reactor) < 0.2.0) -BuildRequires: (crate(tokio-tcp) >= 0.1.0 with crate(tokio-tcp) < 0.2.0) -BuildRequires: (crate(tokio-timer) >= 0.2.0 with crate(tokio-timer) < 0.3.0) -BuildRequires: (crate(want) >= 0.0.6 with crate(want) < 0.0.7) +BuildRequires: (crate(bytes/default) >= 0.4.4 with crate(bytes/default) < 0.5.0) +BuildRequires: (crate(futures-cpupool/default) >= 0.1.6 with crate(futures-cpupool/default) < 0.2.0) +BuildRequires: (crate(futures/default) >= 0.1.21 with crate(futures/default) < 0.2.0) +BuildRequires: (crate(h2/default) >= 0.1.10 with crate(h2/default) < 0.2.0) +BuildRequires: (crate(http/default) >= 0.1.13 with crate(http/default) < 0.2.0) +BuildRequires: (crate(httparse/default) >= 1.0.0 with crate(httparse/default) < 2.0.0) +BuildRequires: (crate(iovec/default) >= 0.1.0 with crate(iovec/default) < 0.2.0) +BuildRequires: (crate(itoa/default) >= 0.4.1 with crate(itoa/default) < 0.5.0) +BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0) +BuildRequires: (crate(net2/default) >= 0.2.32 with crate(net2/default) < 0.3.0) +BuildRequires: (crate(time/default) >= 0.1.0 with crate(time/default) < 0.2.0) +BuildRequires: (crate(tokio-executor/default) >= 0.1.0 with crate(tokio-executor/default) < 0.2.0) +BuildRequires: (crate(tokio-io/default) >= 0.1.0 with crate(tokio-io/default) < 0.2.0) +BuildRequires: (crate(tokio-reactor/default) >= 0.1.0 with crate(tokio-reactor/default) < 0.2.0) +BuildRequires: (crate(tokio-tcp/default) >= 0.1.0 with crate(tokio-tcp/default) < 0.2.0) +BuildRequires: (crate(tokio-threadpool/default) >= 0.1.3 with crate(tokio-threadpool/default) < 0.2.0) +BuildRequires: (crate(tokio-timer/default) >= 0.2.0 with crate(tokio-timer/default) < 0.3.0) +BuildRequires: (crate(tokio/default) >= 0.1.7 with crate(tokio/default) < 0.2.0) +BuildRequires: (crate(want/default) >= 0.0.6 with crate(want/default) < 0.0.7) %if %{with check} -# [dev-dependencies] -BuildRequires: (crate(futures-timer) >= 0.1.0 with crate(futures-timer) < 0.2.0) -BuildRequires: (crate(num_cpus) >= 1.0.0 with crate(num_cpus) < 2.0.0) -BuildRequires: (crate(pretty_env_logger) >= 0.2.0 with crate(pretty_env_logger) < 0.3.0) -BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0) -BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0) -BuildRequires: (crate(serde_json) >= 1.0.0 with crate(serde_json) < 2.0.0) -BuildRequires: (crate(spmc) >= 0.2.0 with crate(spmc) < 0.3.0) -BuildRequires: (crate(tokio-fs) >= 0.1.0 with crate(tokio-fs) < 0.2.0) -BuildRequires: (crate(tokio-mockstream) >= 1.1.0 with crate(tokio-mockstream) < 2.0.0) -BuildRequires: (crate(url) >= 1.0.0 with crate(url) < 2.0.0) +BuildRequires: (crate(futures-timer/default) >= 0.1.0 with crate(futures-timer/default) < 0.2.0) +BuildRequires: (crate(num_cpus/default) >= 1.0.0 with crate(num_cpus/default) < 2.0.0) +BuildRequires: (crate(pretty_env_logger/default) >= 0.2.0 with crate(pretty_env_logger/default) < 0.3.0) +BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0) +BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0) +BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0) +BuildRequires: (crate(spmc/default) >= 0.2.0 with crate(spmc/default) < 0.3.0) +BuildRequires: (crate(tokio-fs/default) >= 0.1.0 with crate(tokio-fs/default) < 0.2.0) +BuildRequires: (crate(tokio-mockstream/default) >= 1.1.0 with crate(tokio-mockstream/default) < 2.0.0) +BuildRequires: (crate(url/default) >= 1.0.0 with crate(url/default) < 2.0.0) %endif -%description -%{summary}. +%global _description \ +A fast and correct HTTP library. + +%description %{_description} %package devel Summary: %{summary} BuildArch: noarch -%description devel -A fast and correct HTTP library. +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%license LICENSE +%{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}+__internal_flaky_tests-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+__internal_flaky_tests-devel %{_description} + +This package contains library source intended for building other packages +which use "__internal_flaky_tests" feature of "%{crate}" crate. + +%files -n %{name}+__internal_flaky_tests-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+futures-cpupool-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+futures-cpupool-devel %{_description} + +This package contains library source intended for building other packages +which use "futures-cpupool" feature of "%{crate}" crate. + +%files -n %{name}+futures-cpupool-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+net2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+net2-devel %{_description} + +This package contains library source intended for building other packages +which use "net2" feature of "%{crate}" crate. + +%files -n %{name}+net2-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+nightly-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nightly-devel %{_description} + +This package contains library source intended for building other packages +which use "nightly" feature of "%{crate}" crate. + +%files -n %{name}+nightly-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+runtime-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+runtime-devel %{_description} This package contains library source intended for building other packages -which use %{crate} from crates.io. +which use "runtime" feature of "%{crate}" crate. + +%files -n %{name}+runtime-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+tokio-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-devel %{_description} + +This package contains library source intended for building other packages +which use "tokio" feature of "%{crate}" crate. + +%files -n %{name}+tokio-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+tokio-executor-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-executor-devel %{_description} + +This package contains library source intended for building other packages +which use "tokio-executor" feature of "%{crate}" crate. + +%files -n %{name}+tokio-executor-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+tokio-reactor-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-reactor-devel %{_description} + +This package contains library source intended for building other packages +which use "tokio-reactor" feature of "%{crate}" crate. + +%files -n %{name}+tokio-reactor-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+tokio-tcp-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-tcp-devel %{_description} + +This package contains library source intended for building other packages +which use "tokio-tcp" feature of "%{crate}" crate. + +%files -n %{name}+tokio-tcp-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+tokio-threadpool-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-threadpool-devel %{_description} + +This package contains library source intended for building other packages +which use "tokio-threadpool" feature of "%{crate}" crate. + +%files -n %{name}+tokio-threadpool-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+tokio-timer-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-timer-devel %{_description} + +This package contains library source intended for building other packages +which use "tokio-timer" feature of "%{crate}" crate. + +%files -n %{name}+tokio-timer-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 @@ -78,11 +226,10 @@ which use %{crate} from crates.io. %cargo_test -- --doc %endif -%files devel -%license LICENSE -%{cargo_registry}/%{crate}-%{version}/ - %changelog +* Sun Nov 11 2018 Igor Gnatenko - 0.12.14-1 +- Update to 0.12.14 + * Mon Oct 22 2018 Josh Stone - 0.12.12-1 - Update to 0.12.12 diff --git a/sources b/sources index 4dd6e7c..aaf2df2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hyper-0.12.12.crate) = 28aed5ad6089d1c3c09c860b4765d4997615b535f5fff884b06ba5003e676ae2ea5923f88efce1251119f822861a53b7d6ba651a508fa84352b1ade781e1ca7a +SHA512 (hyper-0.12.14.crate) = 50ffce2520f30081e7ddba18756e328fdb16fdabd25dc072a12fb599a7ddec5c161bd8b77f4565a8f44774dafb0af4bf2a5957df2ad8062108c42cd1d8ea8262 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..eee6d92 --- /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-hyper