Update to 0.9.1

epel9
Josh Stone 5 years ago
parent d947f01157
commit e8beb0df97

1
.gitignore vendored

@ -16,3 +16,4 @@
/cbindgen-0.8.4.crate /cbindgen-0.8.4.crate
/cbindgen-0.8.6.crate /cbindgen-0.8.6.crate
/cbindgen-0.8.7.crate /cbindgen-0.8.7.crate
/cbindgen-0.9.1.crate

@ -1,11 +1,11 @@
# Generated by rust2rpm-9-1.fc31 # Generated by rust2rpm 10
%bcond_without check %bcond_without check
%global crate cbindgen %global crate cbindgen
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.8.7 Version: 0.9.1
Release: 2%{?dist} Release: 1%{?dist}
Summary: Tool for generating C bindings to Rust code Summary: Tool for generating C bindings to Rust code
# Upstream license specification: MPL-2.0 # Upstream license specification: MPL-2.0
@ -14,32 +14,21 @@ URL: https://crates.io/crates/cbindgen
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
BuildRequires: (crate(clap/default) >= 2.0.0 with crate(clap/default) < 3.0.0)
BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0)
BuildRequires: (crate(proc-macro2/default) >= 0.4.0 with crate(proc-macro2/default) < 0.5.0)
BuildRequires: (crate(quote/default) >= 0.6.0 with crate(quote/default) < 0.7.0)
BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
BuildRequires: (crate(serde/derive) >= 1.0.0 with crate(serde/derive) < 2.0.0)
BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0)
BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0)
BuildRequires: (crate(syn/clone-impls) >= 0.15.0 with crate(syn/clone-impls) < 0.16.0)
BuildRequires: (crate(syn/extra-traits) >= 0.15.0 with crate(syn/extra-traits) < 0.16.0)
BuildRequires: (crate(syn/full) >= 0.15.0 with crate(syn/full) < 0.16.0)
BuildRequires: (crate(syn/parsing) >= 0.15.0 with crate(syn/parsing) < 0.16.0)
BuildRequires: (crate(syn/printing) >= 0.15.0 with crate(syn/printing) < 0.16.0)
BuildRequires: (crate(tempfile/default) >= 3.0.0 with crate(tempfile/default) < 4.0.0)
BuildRequires: (crate(toml/default) >= 0.4.0 with crate(toml/default) < 0.5.0)
%if %{with check} %if %{with check}
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%endif %endif
%global _description \ %global _description %{expand:
A tool for generating C bindings to Rust code. A 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}
@ -47,8 +36,9 @@ Summary: %{summary}
%files -n %{crate} %files -n %{crate}
%license LICENSE %license LICENSE
%doc README.md %doc docs.md README.md
%{_bindir}/cbindgen %{_bindir}/cbindgen
%endif
%package devel %package devel
Summary: %{summary} Summary: %{summary}
@ -61,7 +51,7 @@ which use "%{crate}" crate.
%files devel %files devel
%license LICENSE %license LICENSE
%doc ARCHITECTURE.md CONTRIBUTING.md README.md %doc contributing.md docs.md internals.md README.md
%{cargo_registry}/%{crate}-%{version}/ %{cargo_registry}/%{crate}-%{version}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
@ -76,10 +66,25 @@ which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+clap-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+clap-devel %{_description}
This package contains library source intended for building other packages
which use "clap" feature of "%{crate}" crate.
%files -n %{name}+clap-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build %build
%cargo_build %cargo_build
@ -88,11 +93,13 @@ which use "default" feature of "%{crate}" crate.
%if %{with check} %if %{with check}
%check %check
export CBINDGEN_TEST_VERIFY=1
%cargo_test %cargo_test
%endif %endif
%changelog %changelog
* Fri Nov 15 2019 Josh Stone <jistone@redhat.com> - 0.9.1-1
- Update to 0.9.1
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.7-2 * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

@ -1 +1 @@
SHA512 (cbindgen-0.8.7.crate) = 0238fa87100f1792cbb2b2c977bdc13a9a8a3e916f841ee112f69335a8ecb2a9fc99d3a0ce5eda16c9eead7ccbe8e7b3b8248d4ceaa218bbea0ac9a6a20e805d SHA512 (cbindgen-0.9.1.crate) = 0e32563db42363dc82e8aca2f36bdafcdf0ec9156e7238937295c9369d306c2bfa590ea7a9afd61d8b915fc383bb7af8bbb78cde71f6ab30b0c576262c74232b

Loading…
Cancel
Save