diff --git a/.gitignore b/.gitignore index 625c429..fa77db5 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ /cbindgen-0.14.4.crate /cbindgen-0.14.5.crate /cbindgen-0.14.6.crate +/cbindgen-0.15.0.crate diff --git a/rust-cbindgen.spec b/rust-cbindgen.spec index 93b72a2..23e2cd5 100644 --- a/rust-cbindgen.spec +++ b/rust-cbindgen.spec @@ -1,10 +1,10 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 16 %bcond_without check %global crate cbindgen Name: rust-%{crate} -Version: 0.14.6 +Version: 0.15.0 Release: 1%{?dist} Summary: Tool for generating C bindings to Rust code @@ -19,6 +19,8 @@ BuildArch: noarch %endif BuildRequires: rust-packaging +BuildRequires: /usr/bin/g++ +BuildRequires: /usr/bin/gcc %global _description %{expand: Tool for generating C bindings to Rust code.} @@ -28,17 +30,18 @@ Tool for generating C bindings to Rust code.} %if ! %{__cargo_skip_build} %package -n %{crate} Summary: %{summary} -# Install all deps (without check), grab their licenses and make it simple # * ASL 2.0 or Boost +# * ASL 2.0 or MIT # * MIT # * MIT or ASL 2.0 +# * MPLv2.0 License: MPLv2.0 and MIT and (ASL 2.0 or Boost) %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE -%doc contributing.md docs.md internals.md README.md +%doc contributing.md docs.md internals.md CHANGES README.md %{_bindir}/cbindgen %endif @@ -53,7 +56,7 @@ which use "%{crate}" crate. %files devel %license LICENSE -%doc contributing.md docs.md internals.md README.md +%doc contributing.md docs.md internals.md CHANGES README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -86,10 +89,6 @@ 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 @@ -103,6 +102,10 @@ echo '/usr/bin/gcc' %endif %changelog +* Sun Nov 29 2020 Fabio Valentini - 0.15.0-1 +- Update to version 0.15.0. +- Fixes RHBZ#1885957 + * Wed Sep 23 2020 Fabio Valentini - 0.14.6-1 - Update to version 0.14.6. diff --git a/sources b/sources index ca851f3..77457d8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cbindgen-0.14.6.crate) = 160165c1e273b571cedde7e7911c56d81408e1fb416d6415329a7a8b4f366a0dc66ceb8974da9ccf3d5dd20af86785cc57c8b788484b17da51372810c25b01bb +SHA512 (cbindgen-0.15.0.crate) = cb0868ccdd5ae8f46b3c07f7f06bfad0583f2eda5381e4404a679814dcaad62ce95c9c16c22f00dedfaa2b78f25f1e5f3404a3e515ab50cffac05d1e6f936e60