Update to version 0.20.0; Fixes RHBZ#1909565

epel9
Fabio Valentini 3 years ago
parent a7a0513f1d
commit 0fd39b8fda
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -31,3 +31,4 @@
/cbindgen-0.14.6.crate /cbindgen-0.14.6.crate
/cbindgen-0.15.0.crate /cbindgen-0.15.0.crate
/cbindgen-0.17.0.crate /cbindgen-0.17.0.crate
/cbindgen-0.20.0.crate

@ -1,4 +1,5 @@
[DEFAULT] [DEFAULT]
buildrequires = buildrequires =
/usr/bin/cython
/usr/bin/gcc /usr/bin/gcc
/usr/bin/g++ /usr/bin/g++

@ -1,10 +1,10 @@
# Generated by rust2rpm 16 # Generated by rust2rpm 18
%bcond_without check %bcond_without check
%global crate cbindgen %global crate cbindgen
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.17.0 Version: 0.20.0
Release: %autorelease Release: %autorelease
Summary: Tool for generating C bindings to Rust code Summary: Tool for generating C bindings to Rust code
@ -19,9 +19,6 @@ BuildArch: noarch
%endif %endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
BuildRequires: /usr/bin/cython
BuildRequires: /usr/bin/g++
BuildRequires: /usr/bin/gcc
%global _description %{expand: %global _description %{expand:
Tool for generating C bindings to Rust code.} Tool for generating C bindings to Rust code.}
@ -31,18 +28,18 @@ Tool for generating C bindings to Rust code.}
%if ! %{__cargo_skip_build} %if ! %{__cargo_skip_build}
%package -n %{crate} %package -n %{crate}
Summary: %{summary} Summary: %{summary}
# * ASL 2.0 or Boost # ASL 2.0 or Boost
# * ASL 2.0 or MIT # ASL 2.0 or MIT
# * MIT # MIT
# * MIT or ASL 2.0 # MIT or ASL 2.0
# * MPLv2.0 # MPLv2.0
License: MPLv2.0 and MIT and (ASL 2.0 or Boost) License: MPLv2.0 and MIT and (ASL 2.0 or Boost)
%description -n %{crate} %{_description} %description -n %{crate} %{_description}
%files -n %{crate} %files -n %{crate}
%license LICENSE %license LICENSE
%doc contributing.md docs.md internals.md CHANGES README.md %doc README.md
%{_bindir}/cbindgen %{_bindir}/cbindgen
%endif %endif
@ -57,7 +54,7 @@ which use "%{crate}" crate.
%files devel %files devel
%license LICENSE %license LICENSE
%doc contributing.md docs.md internals.md CHANGES README.md %doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
@ -90,6 +87,11 @@ which use "clap" feature of "%{crate}" crate.
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires %cargo_generate_buildrequires
%if %{with check}
echo '/usr/bin/cython'
echo '/usr/bin/g++'
echo '/usr/bin/gcc'
%endif
%build %build
%cargo_build %cargo_build

@ -1 +1 @@
SHA512 (cbindgen-0.17.0.crate) = ea8adaa6cc1d681ef28391e1a3b001c250d9a90a9961d02d6666582d7d98c79333ba02ef3ff8df6bf375f0c371e72aed1b8bc60aade26d36ab74ce1bbe70f545 SHA512 (cbindgen-0.20.0.crate) = 83c2b0da580f0a2fc9a74922f3c44d0e73ce0d1de8b5a3f5819c7fcf1c481df1ff0346e84c5b4c199a9364542c85fb81ece4e1deca3a6f12231a4478f76a7c02

Loading…
Cancel
Save