Update to version 0.24.3; Fixes RHBZ#2068608

epel9
Fabio Valentini 2 years ago
parent b432b73763
commit 4e5cb60d98
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -32,3 +32,4 @@
/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 /cbindgen-0.20.0.crate
/cbindgen-0.24.3.crate

@ -0,0 +1,27 @@
(MIT OR Apache-2.0) AND Unicode-DFS-2016: unicode-ident v1.0.3
Apache-2.0 OR BSL-1.0: ryu v1.0.11
Apache-2.0 OR MIT: fastrand v1.8.0
Apache-2.0 OR MIT: indexmap v1.9.1
MIT OR Apache-2.0: bitflags v1.3.2
MIT OR Apache-2.0: cfg-if v1.0.0
MIT OR Apache-2.0: clap v3.2.17
MIT OR Apache-2.0: clap_lex v0.2.4
MIT OR Apache-2.0: hashbrown v0.12.3
MIT OR Apache-2.0: heck v0.4.0
MIT OR Apache-2.0: itoa v1.0.3
MIT OR Apache-2.0: libc v0.2.131
MIT OR Apache-2.0: log v0.4.17
MIT OR Apache-2.0: os_str_bytes v6.3.0
MIT OR Apache-2.0: proc-macro2 v1.0.43
MIT OR Apache-2.0: quote v1.0.21
MIT OR Apache-2.0: remove_dir_all v0.7.0
MIT OR Apache-2.0: serde v1.0.144
MIT OR Apache-2.0: serde_json v1.0.85
MIT OR Apache-2.0: syn v1.0.99
MIT OR Apache-2.0: tempfile v3.3.0
MIT OR Apache-2.0: toml v0.5.9
MIT: atty v0.2.14
MIT: strsim v0.10.0
MIT: textwrap v0.15.0
MPL-2.0: cbindgen v0.24.3
Unlicense OR MIT: termcolor v1.1.3

@ -1,47 +1,49 @@
# Generated by rust2rpm 18 # Generated by rust2rpm 22
%bcond_without check %bcond_without check
%global crate cbindgen %global crate cbindgen
Name: rust-%{crate} Name: rust-cbindgen
Version: 0.20.0 Version: 0.24.3
Release: %autorelease Release: %autorelease
Summary: Tool for generating C bindings to Rust code Summary: Tool for generating C bindings to Rust code
# Upstream license specification: MPL-2.0 License: MPL-2.0
License: MPLv2.0
URL: https://crates.io/crates/cbindgen URL: https://crates.io/crates/cbindgen
Source: %{crates_source} Source0: %{crates_source}
Source1: LICENSE.dependencies
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Tool for generating C bindings to Rust code.} Tool for generating C bindings to Rust code.}
%description %{_description} %description %{_description}
%if ! %{__cargo_skip_build}
%package -n %{crate} %package -n %{crate}
Summary: %{summary} Summary: %{summary}
# ASL 2.0 or Boost # (MIT OR Apache-2.0) AND Unicode-DFS-2016
# ASL 2.0 or MIT # Apache-2.0 OR BSL-1.0
# Apache-2.0 OR MIT
# MIT # MIT
# MIT or ASL 2.0 # MIT OR Apache-2.0
# MPLv2.0 # MPL-2.0
License: MPLv2.0 and MIT and (ASL 2.0 or Boost) # Unlicense OR MIT
License: MPL-2.0 AND MIT AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0)
# LICENSE.dependencies contains a full license breakdown
%description -n %{crate} %{_description} %description -n %{crate} %{_description}
%files -n %{crate} %files -n %{crate}
%license LICENSE %license LICENSE
%license LICENSE.dependencies
%doc README.md %doc README.md
%doc contributing.md
%doc docs.md
%doc internals.md
%{_bindir}/cbindgen %{_bindir}/cbindgen
%endif
%package devel %package devel
Summary: %{summary} Summary: %{summary}
@ -49,13 +51,16 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE %license %{crate_instdir}/LICENSE
%doc README.md %doc %{crate_instdir}/README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/contributing.md
%doc %{crate_instdir}/docs.md
%doc %{crate_instdir}/internals.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -63,11 +68,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+clap-devel %package -n %{name}+clap-devel
Summary: %{summary} Summary: %{summary}
@ -75,14 +80,15 @@ BuildArch: noarch
%description -n %{name}+clap-devel %{_description} %description -n %{name}+clap-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "clap" feature of "%{crate}" crate. use the "clap" feature of the "%{crate}" crate.
%files -n %{name}+clap-devel %files -n %{name}+clap-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
cp -pav %{SOURCE1} .
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -1 +1 @@
SHA512 (cbindgen-0.20.0.crate) = 83c2b0da580f0a2fc9a74922f3c44d0e73ce0d1de8b5a3f5819c7fcf1c481df1ff0346e84c5b4c199a9364542c85fb81ece4e1deca3a6f12231a4478f76a7c02 SHA512 (cbindgen-0.24.3.crate) = 3a39be67a87aa7a4dd9baaf6b803215f4587bd7925c4315c5ec93954e021471919fa977ad2084f099c606daa392350de3557bba56cef77806def99c40318ef05

Loading…
Cancel
Save