diff --git a/.gitignore b/.gitignore index 368526f..135895b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /curl-0.4.11.crate +/curl-0.4.12.crate diff --git a/curl-0.4.11-fix-metadata.diff b/curl-0.4.12-fix-metadata.diff similarity index 74% rename from curl-0.4.11-fix-metadata.diff rename to curl-0.4.12-fix-metadata.diff index 8a29159..bbb377d 100644 --- a/curl-0.4.11-fix-metadata.diff +++ b/curl-0.4.12-fix-metadata.diff @@ -1,6 +1,6 @@ ---- curl-0.4.11/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ curl-0.4.11/Cargo.toml 2018-01-13T17:46:14.797172+01:00 -@@ -35,13 +35,6 @@ +--- 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 +@@ -38,13 +38,6 @@ [target."cfg(all(unix, not(target_os = \"macos\")))".dependencies.openssl-sys] version = "0.9.0" diff --git a/rust-curl.spec b/rust-curl.spec index 92195d5..4f637dc 100644 --- a/rust-curl.spec +++ b/rust-curl.spec @@ -1,12 +1,13 @@ # Generated by rust2rpm -%bcond_without check +# Tests require internet +%bcond_with check %global debug_package %{nil} %global crate curl Name: rust-%{crate} -Version: 0.4.11 -Release: 3%{?dist} +Version: 0.4.12 +Release: 1%{?dist} Summary: Rust bindings to libcurl for making HTTP requests License: MIT @@ -14,20 +15,21 @@ 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.11-fix-metadata.diff +Patch0: curl-0.4.12-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] -BuildRequires: (crate(curl-sys) >= 0.4.1 with crate(curl-sys) < 0.5.0) +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.0 with crate(socket2) < 0.4.0) +BuildRequires: (crate(socket2) >= 0.3.2 with crate(socket2) < 0.4.0) %if %{with check} # [dev-dependencies] BuildRequires: (crate(mio) >= 0.6.0 with crate(mio) < 0.7.0) +BuildRequires: (crate(mio-extras) >= 2.0.3 with crate(mio-extras) < 3.0.0) %endif %description @@ -55,8 +57,7 @@ which use %{crate} from crates.io. %if %{with check} %check -# https://github.com/alexcrichton/curl-rust/issues/196 -%cargo_test || : +%cargo_test %endif %files devel @@ -66,6 +67,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,ci} %changelog +* Sun Jul 22 2018 Igor Gnatenko - 0.4.12-1 +- Update to 0.4.12 + * Sat Jul 14 2018 Fedora Release Engineering - 0.4.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index a1e31dc..fc2acc0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (curl-0.4.11.crate) = 5ddcc26690e2cf1b655ca8699b8e67da8ee8a57249ba6c8a736c59bf40dce3511ca7442d58b087b42f7422b0bcdf1d4ac6c3522aabe15e575b6a22d8ca21970a +SHA512 (curl-0.4.12.crate) = 0f40d32b113787e89d5e9b12d84db77e629e67db6b0dea01eeb4a460299be4649221e286ae116656b314171a6021cfea68ccaaae5b27c242dffe8fa3e4f45434