From c3c042094f62ddbd6254fed4a0e0e64b8f922b4c Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 9 May 2019 12:09:09 -0700 Subject: [PATCH] Update to 0.4.18 --- .gitignore | 1 + curl-sys-fix-metadata.diff | 4 ++-- curl-sys-remove-libnghttp2-sys.diff | 20 ++++++++++---------- rust-curl-sys.spec | 8 ++++++-- sources | 2 +- 5 files changed, 20 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 4403c72..6d0f0dd 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /curl-sys-0.4.15.crate /curl-sys-0.4.16.crate /curl-sys-0.4.17.crate +/curl-sys-0.4.18.crate diff --git a/curl-sys-fix-metadata.diff b/curl-sys-fix-metadata.diff index ed8127f..c633428 100644 --- a/curl-sys-fix-metadata.diff +++ b/curl-sys-fix-metadata.diff @@ -1,5 +1,5 @@ ---- curl-sys-0.4.15/Cargo.toml 1969-12-31T16:00:00-08:00 -+++ curl-sys-0.4.15/Cargo.toml 2018-11-09T17:37:46.873564-08:00 +--- curl-sys-0.4.18/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ curl-sys-0.4.18/Cargo.toml 2019-05-09T19:03:08.866555+00:00 @@ -28,10 +28,6 @@ [dependencies.libc] version = "0.2.2" diff --git a/curl-sys-remove-libnghttp2-sys.diff b/curl-sys-remove-libnghttp2-sys.diff index e13d4ee..957ff95 100644 --- a/curl-sys-remove-libnghttp2-sys.diff +++ b/curl-sys-remove-libnghttp2-sys.diff @@ -1,11 +1,11 @@ ---- curl-sys-0.4.9/lib.rs.orig 2018-09-12 12:59:06.000000000 -0700 -+++ curl-sys-0.4.9/lib.rs 2018-09-13 13:12:04.228581344 -0700 -@@ -7,8 +7,6 @@ extern crate libz_sys; - extern crate openssl_sys; - #[cfg(windows)] - extern crate winapi; --#[cfg(feature = "http2")] --extern crate libnghttp2_sys; +--- curl-sys-0.4.18/lib.rs.orig 2019-04-17 18:46:52.000000000 -0700 ++++ curl-sys-0.4.18/lib.rs 2019-05-09 12:05:12.694980681 -0700 +@@ -2,8 +2,6 @@ + #![doc(html_root_url = "https://docs.rs/curl-sys/0.3")] - use libc::{c_int, c_char, c_uint, c_short, c_long, c_double, c_void, size_t, time_t}; - use libc::c_ulong; + extern crate libc; +-#[cfg(link_libnghttp2)] +-extern crate libnghttp2_sys; + #[cfg(link_libz)] + extern crate libz_sys; + #[cfg(link_openssl)] diff --git a/rust-curl-sys.spec b/rust-curl-sys.spec index 180f061..064200a 100644 --- a/rust-curl-sys.spec +++ b/rust-curl-sys.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm +# Generated by rust2rpm-9-1.fc30 # * Tests are run in infrastructure %bcond_with check %global debug_package %{nil} @@ -6,10 +6,11 @@ %global crate curl-sys Name: rust-%{crate} -Version: 0.4.17 +Version: 0.4.18 Release: 1%{?dist} Summary: Native bindings to the libcurl library +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/curl-sys Source: %{crates_source} @@ -127,6 +128,9 @@ rm -vrf curl %endif %changelog +* Thu May 09 2019 Josh Stone - 0.4.18-1 +- Update to 0.4.18 + * Wed Mar 13 2019 Igor Gnatenko - 0.4.17-1 - Update to 0.4.17 diff --git a/sources b/sources index e2848cd..3d89a24 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (curl-sys-0.4.17.crate) = e0b1db564ac22d7d2bb09122393fcdf3cfc196490ad344d4c8023636fe8dc553ed6fe94c7bba3027cca3d707ea511e95294c31bd3ea676f094126677e934e8c8 +SHA512 (curl-sys-0.4.18.crate) = b4f4afa8ce8c9390de02a286b5d1663d8d8ad45026da5b4ea1a3059b812edc67d292db2f628c167c2e633c03784032ce650580e8460fafaa8a6fa5587041d163