From 81fa83613465a968748e80a806a3512b3e4ae722 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 5 Sep 2018 21:03:48 +0200 Subject: [PATCH] Update to 0.6.3 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + ...fix-metadata.diff => cbindgen-fix-metadata.diff | 4 ++-- rust-cbindgen.spec | 14 +++++++++----- sources | 2 +- 4 files changed, 13 insertions(+), 8 deletions(-) rename cbindgen-0.6.1-fix-metadata.diff => cbindgen-fix-metadata.diff (57%) diff --git a/.gitignore b/.gitignore index 2f0096f..0c47697 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /cbindgen-0.4.2.crate /cbindgen-0.4.3.crate /cbindgen-0.6.1.crate +/cbindgen-0.6.3.crate diff --git a/cbindgen-0.6.1-fix-metadata.diff b/cbindgen-fix-metadata.diff similarity index 57% rename from cbindgen-0.6.1-fix-metadata.diff rename to cbindgen-fix-metadata.diff index 6a24ed5..894f41c 100644 --- a/cbindgen-0.6.1-fix-metadata.diff +++ b/cbindgen-fix-metadata.diff @@ -1,5 +1,5 @@ ---- cbindgen-0.6.1/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ cbindgen-0.6.1/Cargo.toml 2018-07-26T07:55:53.459738+02:00 +--- cbindgen-0.6.3/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ cbindgen-0.6.3/Cargo.toml 2018-09-05T21:05:02.892509+02:00 @@ -39,9 +39,6 @@ version = "1.0" features = ["derive"] diff --git a/rust-cbindgen.spec b/rust-cbindgen.spec index 25d647a..a9a97ed 100644 --- a/rust-cbindgen.spec +++ b/rust-cbindgen.spec @@ -6,27 +6,28 @@ %global crate cbindgen Name: rust-%{crate} -Version: 0.6.1 -Release: 3%{?dist} +Version: 0.6.3 +Release: 1%{?dist} Summary: Tool for generating C bindings to Rust code +# Upstream license specification: MPL-2.0 License: MPLv2.0 URL: https://crates.io/crates/cbindgen Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * Remove pinned serde_derive, https://github.com/eqrion/cbindgen/pull/179 -Patch0: cbindgen-0.6.1-fix-metadata.diff +Patch0: cbindgen-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] BuildRequires: (crate(clap) >= 2.0.0 with crate(clap) < 3.0.0) -BuildRequires: (crate(log) >= 0.3.0 with crate(log) < 0.4.0) +BuildRequires: (crate(log) >= 0.4.0 with crate(log) < 0.5.0) BuildRequires: ((crate(serde) >= 1.0.0 with crate(serde) < 2.0.0) with crate(serde/derive)) BuildRequires: (crate(serde_json) >= 1.0.0 with crate(serde_json) < 2.0.0) BuildRequires: ((crate(syn) >= 0.14.0 with crate(syn) < 0.15.0) with crate(syn/clone-impls) with crate(syn/derive) with crate(syn/extra-traits) with crate(syn/full) with crate(syn/parsing) with crate(syn/printing)) -BuildRequires: (crate(tempdir) >= 0.3.0 with crate(tempdir) < 0.4.0) +BuildRequires: (crate(tempfile) >= 3.0.0 with crate(tempfile) < 4.0.0) BuildRequires: (crate(toml) >= 0.4.0 with crate(toml) < 0.5.0) %description @@ -65,6 +66,9 @@ which use %{crate} from crates.io. %exclude %{_bindir}/cbindgen %changelog +* Wed Sep 05 2018 Igor Gnatenko - 0.6.3-1 +- Update to 0.6.3 + * Sat Jul 28 2018 Igor Gnatenko - 0.6.1-3 - Drop cbindgen executable diff --git a/sources b/sources index 4e2f371..886a860 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cbindgen-0.6.1.crate) = e4276b35eadf4cf33a97872ee0cb28e1f5b8e77fc6d52f6c8959e8fa394022588d7b3196aa462ef6d4800df0424c9f39127bfcba39b501c34015425e27ceae6c +SHA512 (cbindgen-0.6.3.crate) = 2f212287cf8c47bc1cc8e7ce29a03ce4b1268958bd682b6e7e43e1ad97e31af8925277f8b43493f62cef49c43e3fcfe23a033bec8b791c77ee09a02c17118944