From c83ab6e3403f0c35301f9d60093da05d4c751042 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 29 Mar 2022 22:46:11 +0200 Subject: [PATCH] Update to version 0.3.12; Fixes RHBZ#2062464 --- .gitignore | 1 + rust-h2.spec | 26 ++++++++++++++------------ sources | 2 +- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 2c0430d..f97f4dc 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ /h2-0.3.9.crate /h2-0.3.10.crate /h2-0.3.11.crate +/h2-0.3.12.crate diff --git a/rust-h2.spec b/rust-h2.spec index c9e169c..91af489 100644 --- a/rust-h2.spec +++ b/rust-h2.spec @@ -1,14 +1,14 @@ -# Generated by rust2rpm 20 -# * dev-dependencies are outdated (hex, quickcheck, rand, walkdir) +# Generated by rust2rpm 21 +# * dev-dependencies too old in Fedora (tokio-rustls, webpki-roots) %bcond_with check %global debug_package %{nil} %global crate h2 Name: rust-%{crate} -Version: 0.3.11 +Version: 0.3.12 Release: %autorelease -Summary: HTTP/2.0 client and server +Summary: HTTP/2 client and server # Upstream license specification: MIT License: MIT @@ -17,10 +17,10 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -HTTP/2.0 client and server.} +HTTP/2 client and server.} %description %{_description} @@ -34,9 +34,11 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE -%doc CHANGELOG.md CONTRIBUTING.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/CONTRIBUTING.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,7 +50,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}+stream-devel Summary: %{summary} @@ -60,7 +62,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}+unstable-devel Summary: %{summary} @@ -72,7 +74,7 @@ This package contains library source intended for building other packages which use the "unstable" feature of the "%{crate}" crate. %files -n %{name}+unstable-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 7501601..1c4effc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (h2-0.3.11.crate) = 596e1d67d8f6ab2776e1c0dae393908995fb238c7f95b237865d362e66287724a163cbfc60c9a02cccdab4b7190f0229543dea2767cea50e2542e960663b4b27 +SHA512 (h2-0.3.12.crate) = 7af9159a4b21b95e3408cefa971d4ca9bd462a1b833a36cf84b576224cf9a76b4b0bfd0c725b5edc28244c8a2d527e214455742a7e7ef73d5cf4000ce5198321