|
|
|
@ -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 <decathorpe@gmail.com> - 0.15.0-1
|
|
|
|
|
- Update to version 0.15.0.
|
|
|
|
|
- Fixes RHBZ#1885957
|
|
|
|
|
|
|
|
|
|
* Wed Sep 23 2020 Fabio Valentini <decathorpe@gmail.com> - 0.14.6-1
|
|
|
|
|
- Update to version 0.14.6.
|
|
|
|
|
|
|
|
|
|