From de08d4c6a8f525ae392c4476b70b20195112b800 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 3 May 2018 17:59:39 -0700 Subject: [PATCH] Update to 0.2.7 --- .gitignore | 1 + libssh2-sys-0.2.7-fix-metadata.diff | 10 ++++++++++ rust-libssh2-sys.spec | 10 ++++++++-- sources | 2 +- 4 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 libssh2-sys-0.2.7-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 4c6208d..016e362 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /libssh2-sys-0.2.6.crate +/libssh2-sys-0.2.7.crate diff --git a/libssh2-sys-0.2.7-fix-metadata.diff b/libssh2-sys-0.2.7-fix-metadata.diff new file mode 100644 index 0000000..d688769 --- /dev/null +++ b/libssh2-sys-0.2.7-fix-metadata.diff @@ -0,0 +1,10 @@ +--- libssh2-sys-0.2.7/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ libssh2-sys-0.2.7/Cargo.toml 2018-05-03T17:58:04.584951-07:00 +@@ -33,7 +33,5 @@ + + [build-dependencies.pkg-config] + version = "0.3" +-[target."cfg(target_env = \"msvc\")".build-dependencies.vcpkg] +-version = "0.2" + [target."cfg(unix)".dependencies.openssl-sys] + version = "0.9" diff --git a/rust-libssh2-sys.spec b/rust-libssh2-sys.spec index c0dedfb..62e3a36 100644 --- a/rust-libssh2-sys.spec +++ b/rust-libssh2-sys.spec @@ -5,14 +5,17 @@ %global crate libssh2-sys Name: rust-%{crate} -Version: 0.2.6 -Release: 3%{?dist} +Version: 0.2.7 +Release: 1%{?dist} Summary: Native bindings to the libssh2 library # https://github.com/alexcrichton/ssh2-rs/issues/75 License: MIT or ASL 2.0 URL: https://crates.io/crates/libssh2-sys Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * No Windows +Patch0: libssh2-sys-0.2.7-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -61,6 +64,9 @@ rm -vrf libssh2/ %{cargo_registry}/%{crate}-%{version}/ %changelog +* Fri May 04 2018 Josh Stone - 0.2.7-1 +- Update to 0.2.7 + * Fri Feb 09 2018 Fedora Release Engineering - 0.2.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 42f8cec..2125d50 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libssh2-sys-0.2.6.crate) = 2a02abf0b29025137d73d4b97a6287142f5677383f22085d3d49f76fd0c8324ef1baf5e9d763b6cc2dd1e339f697b9466341ded5ae2c8cfddf6eeb74e870f8ab +SHA512 (libssh2-sys-0.2.7.crate) = 817d6897aeaa92fea77ed5b23df68f5f10760f2f342947b178aa460fe3a75aee6913ec1ad7e34d52a1523637b7f3672a8e28f59c05ed03db1caee256ba76a45d