From bee4ec98081ff45bc9e508050a16fdad6f614952 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Tue, 11 Feb 2020 11:12:36 +0100 Subject: [PATCH] Update to 0.4.1 Signed-off-by: Igor Raits --- .gitignore | 1 + hyper-tls-fix-metadata.diff | 7 +++++++ rust-hyper-tls.spec | 16 +++++++++++----- sources | 2 +- 4 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 hyper-tls-fix-metadata.diff diff --git a/.gitignore b/.gitignore index cd7a0b8..47e78f1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /hyper-tls-0.3.0.crate /hyper-tls-0.3.1.crate /hyper-tls-0.3.2.crate +/hyper-tls-0.4.1.crate diff --git a/hyper-tls-fix-metadata.diff b/hyper-tls-fix-metadata.diff new file mode 100644 index 0000000..91dccd5 --- /dev/null +++ b/hyper-tls-fix-metadata.diff @@ -0,0 +1,7 @@ +--- hyper-tls-0.4.1/Cargo.toml 2020-01-09T20:35:35+00:00 ++++ hyper-tls-0.4.1/Cargo.toml 2020-02-11T10:12:01.781531+00:00 +@@ -42,4 +42,3 @@ + features = ["io-std", "macros"] + + [features] +-vendored = ["native-tls/vendored"] diff --git a/rust-hyper-tls.spec b/rust-hyper-tls.spec index 69b7668..4a389b8 100644 --- a/rust-hyper-tls.spec +++ b/rust-hyper-tls.spec @@ -1,18 +1,21 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate hyper-tls Name: rust-%{crate} -Version: 0.3.2 -Release: 4%{?dist} +Version: 0.4.1 +Release: 1%{?dist} Summary: Default TLS implementation for use with hyper # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/hyper-tls Source: %{crates_source} +# Initial patched metadata +# * No vendored feature +Patch0: hyper-tls-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -38,7 +41,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -50,7 +53,7 @@ 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 +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -71,6 +74,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Tue Feb 11 11:12:01 CET 2020 Igor Raits - 0.4.1-1 +- Update to 0.4.1 + * Thu Jan 30 2020 Fedora Release Engineering - 0.3.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 565e0c6..26b082f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hyper-tls-0.3.2.crate) = 9179878b95e8e390b17d45bb02c24219066405f671fddc4e044ecac0a00646e9ae03e7cda31b0f6f7beddd8fbccfc873d28d52e6b46aab2d252a2472302a483c +SHA512 (hyper-tls-0.4.1.crate) = acae463feff83342d4c867bf9055e066223591cdc18f995e56ec9377c6c5dbe37864743899be3b79104a629c4a3247dbf5fc257f420f3e1acb2e28d09d46398f