From 54aa9d10acbd9585f402f3d6b63f2c1aeee41c7a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 29 Mar 2022 12:18:00 +0200 Subject: [PATCH] Update to version 0.14.18; Fixes RHBZ#2066968 --- .gitignore | 1 + rust-hyper.spec | 36 ++++++++++++++++++------------------ sources | 2 +- 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index fd177b0..b435668 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,4 @@ /hyper-0.14.15.crate /hyper-0.14.16.crate /hyper-0.14.17.crate +/hyper-0.14.18.crate diff --git a/rust-hyper.spec b/rust-hyper.spec index c9f7b27..f0844e6 100644 --- a/rust-hyper.spec +++ b/rust-hyper.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 # * examples and integration tests are not included in published crates # * tower dev-dependency is not packaged %bcond_with check @@ -7,7 +7,7 @@ %global crate hyper Name: rust-%{crate} -Version: 0.14.17 +Version: 0.14.18 Release: %autorelease Summary: Fast and correct HTTP library @@ -18,7 +18,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Fast and correct HTTP library.} @@ -35,8 +35,8 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,7 +48,7 @@ This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+client-devel Summary: %{summary} @@ -60,7 +60,7 @@ This package contains library source intended for building other packages which use the "client" feature of the "%{crate}" crate. %files -n %{name}+client-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ffi-devel Summary: %{summary} @@ -72,7 +72,7 @@ This package contains library source intended for building other packages which use the "ffi" feature of the "%{crate}" crate. %files -n %{name}+ffi-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+full-devel Summary: %{summary} @@ -84,7 +84,7 @@ This package contains library source intended for building other packages which use the "full" feature of the "%{crate}" crate. %files -n %{name}+full-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+h2-devel Summary: %{summary} @@ -96,7 +96,7 @@ This package contains library source intended for building other packages which use the "h2" feature of the "%{crate}" crate. %files -n %{name}+h2-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+http1-devel Summary: %{summary} @@ -108,7 +108,7 @@ This package contains library source intended for building other packages which use the "http1" feature of the "%{crate}" crate. %files -n %{name}+http1-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+http2-devel Summary: %{summary} @@ -120,7 +120,7 @@ This package contains library source intended for building other packages which use the "http2" feature of the "%{crate}" crate. %files -n %{name}+http2-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libc-devel Summary: %{summary} @@ -132,7 +132,7 @@ This package contains library source intended for building other packages which use the "libc" feature of the "%{crate}" crate. %files -n %{name}+libc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+runtime-devel Summary: %{summary} @@ -144,7 +144,7 @@ This package contains library source intended for building other packages which use the "runtime" feature of the "%{crate}" crate. %files -n %{name}+runtime-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+server-devel Summary: %{summary} @@ -156,7 +156,7 @@ This package contains library source intended for building other packages which use the "server" feature of the "%{crate}" crate. %files -n %{name}+server-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+socket2-devel Summary: %{summary} @@ -168,7 +168,7 @@ This package contains library source intended for building other packages which use the "socket2" feature of the "%{crate}" crate. %files -n %{name}+socket2-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+stream-devel Summary: %{summary} @@ -180,7 +180,7 @@ This package contains library source intended for building other packages which use the "stream" feature of the "%{crate}" crate. %files -n %{name}+stream-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tcp-devel Summary: %{summary} @@ -192,7 +192,7 @@ This package contains library source intended for building other packages which use the "tcp" feature of the "%{crate}" crate. %files -n %{name}+tcp-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 87e5d9e..b3a9164 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hyper-0.14.17.crate) = 47f2b10d76b417f19985a87b935557be9a35b06d7cb5fe7675b27a4fb2d6b00e235cd5c09820aa88fec5f5c52157c65a6dcf4aae3b33daf538c09d9214126a63 +SHA512 (hyper-0.14.18.crate) = 9415eebfdbe3795488f57e6628ccfee4195f7b04ab3beb3fb5a0768f546322c2528f482838107cd32e2d71d1f562c8b2e6b34d94a6e7f1bbd049b44ae5cc41b9