From a2f2e8d5784d4dabd474f0469d0fc474ff826875 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Apr 30 2019 06:41:33 +0000 Subject: Update to 0.2.3 Signed-off-by: Igor Gnatenko --- diff --git a/.gitignore b/.gitignore index 0a66c4e..f7af7d2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /native-tls-0.2.0.crate /native-tls-0.2.1.crate /native-tls-0.2.2.crate +/native-tls-0.2.3.crate diff --git a/native-tls-fix-metadata.diff b/native-tls-fix-metadata.diff index 86c7320..c2f67a7 100644 --- a/native-tls-fix-metadata.diff +++ b/native-tls-fix-metadata.diff @@ -1,11 +1,9 @@ ---- native-tls-0.2.2/Cargo.toml 1969-12-31T16:00:00-08:00 -+++ native-tls-0.2.2/Cargo.toml 2018-10-22T14:25:27.001481-07:00 -@@ -21,22 +21,6 @@ - [dev-dependencies.hex] - version = "0.3" +--- native-tls-0.2.3/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ native-tls-0.2.3/Cargo.toml 2019-04-30T06:40:29.951813+00:00 +@@ -23,20 +23,6 @@ --[features] --vendored = ["openssl/vendored"] + [features] + vendored = ["openssl/vendored"] -[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.lazy_static] -version = "1.0" - @@ -13,21 +11,19 @@ -version = "0.2" - -[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.security-framework] --version = "0.2.1" +-version = "0.3.1" - -[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.security-framework-sys] --version = "0.2.1" +-version = "0.3.1" - -[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.tempfile] -version = "3.0" - [target."cfg(not(any(target_os = \"windows\", target_os = \"macos\", target_os = \"ios\")))".dependencies.openssl] - version = "0.10.15" + [target."cfg(not(any(target_os = \"windows\", target_os = \"macos\", target_os = \"ios\")))".dependencies.log] + version = "0.4.5" -@@ -45,7 +29,3 @@ +@@ -48,5 +34,3 @@ [target."cfg(not(any(target_os = \"windows\", target_os = \"macos\", target_os = \"ios\")))".dependencies.openssl-sys] version = "0.9.30" --[target."cfg(target_os = \"android\")".dependencies.log] --version = "0.4.5" -[target."cfg(target_os = \"windows\")".dependencies.schannel] -version = "0.1.13" diff --git a/rust-native-tls.spec b/rust-native-tls.spec index 9af4e69..e0a82ad 100644 --- a/rust-native-tls.spec +++ b/rust-native-tls.spec @@ -1,27 +1,26 @@ # Generated by rust2rpm -# Tests are run in infrastructure %bcond_with check %global debug_package %{nil} %global crate native-tls Name: rust-%{crate} -Version: 0.2.2 -Release: 3%{?dist} +Version: 0.2.3 +Release: 1%{?dist} Summary: Wrapper over a platform's native TLS implementation # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/native-tls -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # Initial patched metadata # * No windows/macos/ios -# * No "vendored" feature Patch0: native-tls-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging +BuildRequires: (crate(log/default) >= 0.4.5 with crate(log/default) < 0.5.0) BuildRequires: (crate(openssl-probe/default) >= 0.1.0 with crate(openssl-probe/default) < 0.2.0) BuildRequires: (crate(openssl-sys/default) >= 0.9.30 with crate(openssl-sys/default) < 0.10.0) BuildRequires: (crate(openssl/default) >= 0.10.15 with crate(openssl/default) < 0.11.0) @@ -62,7 +61,7 @@ which use "default" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -77,6 +76,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Tue Apr 30 08:40:30 CEST 2019 Igor Gnatenko - 0.2.3-1 +- Update to 0.2.3 + * Sat Feb 02 2019 Fedora Release Engineering - 0.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 75ac95d..6e33dd0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (native-tls-0.2.2.crate) = 4bff0f1e1833e46d069818ee53a74eed8d792430d222cccc9aadf28ce57246b3b9901f095d97e3567eddff85f59739ec02e1662955d23bba8060febcd7eecdc9 +SHA512 (native-tls-0.2.3.crate) = 9964d627c922261ea730076a2c8447784e0ceebd8e6218f5a61093021f10682c2fa25815c10711831b7d41c84b7c77cc1128a663669058882b0af6d70ac0bc09