From 96a09cee2e3d5a25f3a06ad4c4d281dbc6a9ac8a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 7 Mar 2021 21:57:37 +0100 Subject: [PATCH] update to version 0.14.4 --- .gitignore | 1 + hyper-fix-metadata.diff | 19 ++++--- rust-hyper.spec | 107 ++++++++++++++++++++++++++++++++++++++-- sources | 2 +- 4 files changed, 117 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index cb49d58..d245bf0 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,4 @@ /hyper-0.13.7.crate /hyper-0.13.8.crate /hyper-0.13.9.crate +/hyper-0.14.4.crate diff --git a/hyper-fix-metadata.diff b/hyper-fix-metadata.diff index c8f19ca..f6bc8e7 100644 --- a/hyper-fix-metadata.diff +++ b/hyper-fix-metadata.diff @@ -1,12 +1,17 @@ ---- hyper-0.13.9/Cargo.toml 2020-11-02T23:21:15+00:00 -+++ hyper-0.13.9/Cargo.toml 2020-11-04T20:30:54.971408+00:00 -@@ -250,9 +250,7 @@ - version = "1.0" +--- hyper-0.14.4/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ hyper-0.14.4/Cargo.toml 2021-03-06T21:42:36.886420+00:00 +@@ -262,14 +262,12 @@ + version = "2.2" [features] -__internal_happy_eyeballs_tests = [] - default = ["runtime", "stream"] + client = [] + default = [] + ffi = ["libc"] + full = ["client", "http1", "http2", "server", "stream", "runtime"] + http1 = [] + http2 = ["h2"] -nightly = [] - runtime = ["tcp", "tokio/rt-core"] + runtime = ["tcp", "tokio/rt"] + server = [] stream = [] - tcp = ["socket2", "tokio/blocking", "tokio/tcp", "tokio/time"] diff --git a/rust-hyper.spec b/rust-hyper.spec index 44a1adf..3456c13 100644 --- a/rust-hyper.spec +++ b/rust-hyper.spec @@ -1,14 +1,14 @@ -# Generated by rust2rpm 15 -# * pnet is not packaged +# Generated by rust2rpm 16 # * examples and UI tests are not included in the crate +# * tokio-test in Fedora is too old %bcond_with check %global debug_package %{nil} %global crate hyper Name: rust-%{crate} -Version: 0.13.9 -Release: 2%{?dist} +Version: 0.14.4 +Release: 1%{?dist} Summary: Fast and correct HTTP library # Upstream license specification: MIT @@ -56,6 +56,90 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+client-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+client-devel %{_description} + +This package contains library source intended for building other packages +which use "client" feature of "%{crate}" crate. + +%files -n %{name}+client-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+ffi-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+ffi-devel %{_description} + +This package contains library source intended for building other packages +which use "ffi" feature of "%{crate}" crate. + +%files -n %{name}+ffi-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+full-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+full-devel %{_description} + +This package contains library source intended for building other packages +which use "full" feature of "%{crate}" crate. + +%files -n %{name}+full-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+h2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+h2-devel %{_description} + +This package contains library source intended for building other packages +which use "h2" feature of "%{crate}" crate. + +%files -n %{name}+h2-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+http1-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+http1-devel %{_description} + +This package contains library source intended for building other packages +which use "http1" feature of "%{crate}" crate. + +%files -n %{name}+http1-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+http2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+http2-devel %{_description} + +This package contains library source intended for building other packages +which use "http2" feature of "%{crate}" crate. + +%files -n %{name}+http2-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+libc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+libc-devel %{_description} + +This package contains library source intended for building other packages +which use "libc" feature of "%{crate}" crate. + +%files -n %{name}+libc-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+runtime-devel Summary: %{summary} BuildArch: noarch @@ -68,6 +152,18 @@ which use "runtime" feature of "%{crate}" crate. %files -n %{name}+runtime-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+server-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+server-devel %{_description} + +This package contains library source intended for building other packages +which use "server" feature of "%{crate}" crate. + +%files -n %{name}+server-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+socket2-devel Summary: %{summary} BuildArch: noarch @@ -123,6 +219,9 @@ which use "tcp" feature of "%{crate}" crate. %endif %changelog +* Sat Mar 06 2021 Fabio Valentini - 0.14.4-1 +- Update to version 0.14.4. + * Wed Jan 27 2021 Fedora Release Engineering - 0.13.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index b7623f9..976d929 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hyper-0.13.9.crate) = 6156a0fcbc22dfc753a6a3cb2872658fbe0682c9da037e9f9fffa8f584373ce8bbc125f9f166c397366f93a944ad84273110ca24711b5b0817061f0c7a2e6f23 +SHA512 (hyper-0.14.4.crate) = 8126f88ae81e9e85c7035b94c8abbcac5664e6178f6ca470985b41824dd255a307ea90cb9e55a85329c1fb6597ab9fd1a44b12bcfc4b65e1bf4eadf8cb568b00