From 42ad7e2d39f59dbc2af9c8649a0725d3b0102288 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 7 Sep 2018 16:07:00 -0700 Subject: [PATCH] Update to 0.4.14 --- .gitignore | 1 + ...ix-metadata.diff => curl-fix-metadata.diff | 12 ++++++------ rust-curl.spec | 19 +++++++++++-------- sources | 2 +- 4 files changed, 19 insertions(+), 15 deletions(-) rename curl-0.4.12-fix-metadata.diff => curl-fix-metadata.diff (63%) diff --git a/.gitignore b/.gitignore index 135895b..b59962d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /curl-0.4.11.crate /curl-0.4.12.crate +/curl-0.4.14.crate diff --git a/curl-0.4.12-fix-metadata.diff b/curl-fix-metadata.diff similarity index 63% rename from curl-0.4.12-fix-metadata.diff rename to curl-fix-metadata.diff index bbb377d..6e155c5 100644 --- a/curl-0.4.12-fix-metadata.diff +++ b/curl-fix-metadata.diff @@ -1,16 +1,16 @@ ---- curl-0.4.12/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ curl-0.4.12/Cargo.toml 2018-07-22T09:54:53.293137+02:00 +--- curl-0.4.14/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ curl-0.4.14/Cargo.toml 2018-09-07T16:05:05.901118-07:00 @@ -38,13 +38,6 @@ [target."cfg(all(unix, not(target_os = \"macos\")))".dependencies.openssl-sys] - version = "0.9.0" + version = "0.9.33" -[target."cfg(target_env=\"msvc\")".dependencies.kernel32-sys] --version = "0.2" +-version = "0.2.2" - -[target."cfg(target_env=\"msvc\")".dependencies.schannel] --version = "0.1.8" +-version = "0.1.13" -[target."cfg(windows)".dependencies.winapi] --version = "0.2" +-version = "0.2.7" [badges.appveyor] repository = "alexcrichton/curl-rust" diff --git a/rust-curl.spec b/rust-curl.spec index db2e141..4501a06 100644 --- a/rust-curl.spec +++ b/rust-curl.spec @@ -6,8 +6,8 @@ %global crate curl Name: rust-%{crate} -Version: 0.4.12 -Release: 2%{?dist} +Version: 0.4.14 +Release: 1%{?dist} Summary: Rust bindings to libcurl for making HTTP requests License: MIT @@ -15,17 +15,17 @@ URL: https://crates.io/crates/curl Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * No windows/osx -Patch0: curl-0.4.12-fix-metadata.diff +Patch0: curl-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] -BuildRequires: (crate(curl-sys) >= 0.4.2 with crate(curl-sys) < 0.5.0) -BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0) -BuildRequires: (crate(openssl-probe) >= 0.1.0 with crate(openssl-probe) < 0.2.0) -BuildRequires: (crate(openssl-sys) >= 0.9.0 with crate(openssl-sys) < 0.10.0) -BuildRequires: (crate(socket2) >= 0.3.2 with crate(socket2) < 0.4.0) +BuildRequires: (crate(curl-sys) >= 0.4.8 with crate(curl-sys) < 0.5.0) +BuildRequires: (crate(libc) >= 0.2.42 with crate(libc) < 0.3.0) +BuildRequires: (crate(openssl-probe) >= 0.1.2 with crate(openssl-probe) < 0.2.0) +BuildRequires: (crate(openssl-sys) >= 0.9.33 with crate(openssl-sys) < 0.10.0) +BuildRequires: (crate(socket2) >= 0.3.7 with crate(socket2) < 0.4.0) %if %{with check} # [dev-dependencies] BuildRequires: (crate(mio) >= 0.6.0 with crate(mio) < 0.7.0) @@ -67,6 +67,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,ci} %changelog +* Fri Sep 07 2018 Josh Stone - 0.4.14-1 +- Update to 0.4.14 + * Sat Jul 28 2018 Igor Gnatenko - 0.4.12-2 - Rebuild to trigger tests diff --git a/sources b/sources index fc2acc0..1032d14 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (curl-0.4.12.crate) = 0f40d32b113787e89d5e9b12d84db77e629e67db6b0dea01eeb4a460299be4649221e286ae116656b314171a6021cfea68ccaaae5b27c242dffe8fa3e4f45434 +SHA512 (curl-0.4.14.crate) = 8065a51a00f02f088dd989cd66df2d8c8b7490368c1aec6374f78144cd3da446d902b643f65a62dd64c6af398c52fbf289c0be10ed38882686f2fe89570f9efe