From 3584bbfe329a4548f8f078e70c640b9ea8a4d618 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 22 Jun 2021 13:52:40 +0200 Subject: [PATCH] update to version 2.0.8 --- .gitignore | 1 + nettle-sys-fix-metadata.diff | 13 +++---------- rust-nettle-sys.spec | 7 +++++-- sources | 2 +- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 756be4e..c9977cd 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /nettle-sys-2.0.6.crate /nettle-sys-2.0.7.crate +/nettle-sys-2.0.8.crate diff --git a/nettle-sys-fix-metadata.diff b/nettle-sys-fix-metadata.diff index 9d9617a..15556e0 100644 --- a/nettle-sys-fix-metadata.diff +++ b/nettle-sys-fix-metadata.diff @@ -1,20 +1,13 @@ ---- nettle-sys-2.0.7/Cargo.toml 2021-04-29T13:31:50+00:00 -+++ nettle-sys-2.0.7/Cargo.toml 2021-05-22T19:53:36.626189+00:00 -@@ -28,17 +28,7 @@ +--- nettle-sys-2.0.8/Cargo.toml 2021-06-07T11:19:43+00:00 ++++ nettle-sys-2.0.8/Cargo.toml 2021-06-22T09:57:35.031714+00:00 +@@ -29,10 +29,7 @@ [dependencies] [build-dependencies.bindgen] version = ">= 0.53.1, < 0.58.0" -features = ["runtime"] default-features = false -- --[build-dependencies.nettle-src] --version = "3.5.1-0" --optional = true [build-dependencies.pkg-config] version = "0.3" -- --[features] --vendored = ["nettle-src"] -[target."cfg(target_env = \"msvc\")".build-dependencies.vcpkg] -version = "0.2.9" diff --git a/rust-nettle-sys.spec b/rust-nettle-sys.spec index 7c67db0..78c4c3a 100644 --- a/rust-nettle-sys.spec +++ b/rust-nettle-sys.spec @@ -5,7 +5,7 @@ %global crate nettle-sys Name: rust-%{crate} -Version: 2.0.7 +Version: 2.0.8 Release: 1%{?dist} Summary: Low-level Rust bindings for the Nettle cryptographic library @@ -14,7 +14,6 @@ License: LGPLv3 or GPLv2 or GPLv3 URL: https://crates.io/crates/nettle-sys Source: %{crates_source} # Initial patched metadata -# * drop feature for using vendored nettle # * drop runtime bindgen feature Patch0: nettle-sys-fix-metadata.diff # * drop two elliptic curves that are disabled in nettle in Fedora: @@ -81,6 +80,10 @@ echo 'pkgconfig(nettle)' %endif %changelog +* Tue Jun 22 2021 Fabio Valentini - 2.0.8-1 +- Update to version 2.0.8. +- Fixes RHBZ#1968419 + * Sat May 22 2021 Fabio Valentini - 2.0.7-1 - Update to version 2.0.7. - Fixes RHBZ#1955146 diff --git a/sources b/sources index 0a94429..6994dd2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nettle-sys-2.0.7.crate) = 9d0f28e4066f27a5cb59cad65742a5a439f4c636e7bd19e65cd88b0bebe08ece5865af5d6018e1e2126fe990a914bf5c5a3e4a12425fb7cf044e133b6d5dd23e +SHA512 (nettle-sys-2.0.8.crate) = 61e9d518d664cac12708cbb01a1a13d47caec20c627697b66b8e74b53c1eb48c5b418511e5d5151dc6057fca74907bd0137493d6392ecd69254b39a59bafa71d