From 826fdf9a86fa2bddb3b7fc663b73b3e80061a450 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 6 Dec 2019 10:46:43 +0100 Subject: [PATCH] Update to 0.11.0 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + .rust2rpm.conf | 4 ++++ rust-cbindgen.spec | 16 ++++++++++------ sources | 2 +- 4 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 .rust2rpm.conf diff --git a/.gitignore b/.gitignore index 2e23143..05cbb77 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /cbindgen-0.8.6.crate /cbindgen-0.8.7.crate /cbindgen-0.9.1.crate +/cbindgen-0.11.0.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..5ee594d --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,4 @@ +[DEFAULT] +buildrequires = + /usr/bin/gcc + /usr/bin/g++ diff --git a/rust-cbindgen.spec b/rust-cbindgen.spec index 71003b7..3a16acc 100644 --- a/rust-cbindgen.spec +++ b/rust-cbindgen.spec @@ -1,10 +1,10 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 11 %bcond_without check %global crate cbindgen Name: rust-%{crate} -Version: 0.9.1 +Version: 0.11.0 Release: 1%{?dist} Summary: Tool for generating C bindings to Rust code @@ -19,12 +19,9 @@ BuildArch: noarch %endif BuildRequires: rust-packaging -%if %{with check} -BuildRequires: gcc-c++ -%endif %global _description %{expand: -A tool for generating C bindings to Rust code.} +Tool for generating C bindings to Rust code.} %description %{_description} @@ -84,6 +81,10 @@ which use "clap" feature of "%{crate}" crate. %generate_buildrequires %cargo_generate_buildrequires +%if %{with check} +echo '/usr/bin/g++' +echo '/usr/bin/gcc' +%endif %build %cargo_build @@ -97,6 +98,9 @@ which use "clap" feature of "%{crate}" crate. %endif %changelog +* Fri Dec 06 10:45:49 CET 2019 Igor Gnatenko - 0.11.0-1 +- Update to 0.11.0 + * Fri Nov 15 2019 Josh Stone - 0.9.1-1 - Update to 0.9.1 diff --git a/sources b/sources index 42171f6..bbdbd53 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cbindgen-0.9.1.crate) = 0e32563db42363dc82e8aca2f36bdafcdf0ec9156e7238937295c9369d306c2bfa590ea7a9afd61d8b915fc383bb7af8bbb78cde71f6ab30b0c576262c74232b +SHA512 (cbindgen-0.11.0.crate) = 080a6b573e051733e07ec9597199619865d949ed827af4dbe585dac079b81c4713a8dad33bafc83350abe3cac1483188c92063666636a9835f724dc9dafc349b